linux/drivers/i2c
Vladimir Zapolskiy e331146973 i2c: fix leaked device refcount on of_find_i2c_* error path
If of_find_i2c_device_by_node() or of_find_i2c_adapter_by_node() find
a device by node, but its type does not match, a reference to that
device is still held. This change fixes the problem.

Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2015-08-01 12:11:58 +02:00
..
algos
busses i2c: Fix typo in i2c-bfin-twi.c 2015-07-31 13:32:31 +02:00
muxes
i2c-boardinfo.c
i2c-core.c i2c: fix leaked device refcount on of_find_i2c_* error path 2015-08-01 12:11:58 +02:00
i2c-core.h
i2c-dev.c
i2c-mux.c
i2c-slave-eeprom.c i2c: slave eeprom: clean up sysfs bin attribute read()/write() 2015-07-31 13:32:30 +02:00
i2c-smbus.c
i2c-stub.c
Kconfig
Makefile