OpenCloudOS-Kernel/drivers/mux
Hans de Goede aa1f10e85b 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 <hdegoede@redhat.com>
Signed-off-by: Peter Rosin <peda@axentia.se>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-01-09 14:19:41 +01:00
..
Kconfig mux: remove the Kconfig question for the subsystem 2017-07-17 16:37:30 +02:00
Makefile mux: zap mux- prefix from the source files 2017-08-28 17:11:28 +02:00
adg792a.c mux: zap mux- prefix from the source files 2017-08-28 17:11:28 +02:00
core.c mux: core: fix double get_device() 2018-01-09 14:19:41 +01:00
gpio.c mux: zap mux- prefix from the source files 2017-08-28 17:11:28 +02:00
mmio.c mux: zap mux- prefix from the source files 2017-08-28 17:11:28 +02:00