diff options
author | Hans de Goede <[email protected]> | 2017-12-29 00:22:54 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2018-01-09 14:19:41 +0100 |
commit | aa1f10e85b0ab53dee85d8e293c8159d18d293a8 (patch) | |
tree | 17f0b76f442b515fc12a0d2055e520997d89a851 /net/unix/af_unix.c | |
parent | 06e7e776ca4d36547e503279aeff996cbb292c16 (diff) |
mux: core: fix double get_device()
class_find_device already does a get_device on the returned device.
So the device returned by of_find_mux_chip_by_node is already referenced
and we should not reference it again (and unref it on error).
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Peter Rosin <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions