linux-stable/drivers/i2c/muxes
Lars-Peter Clausen a205e63d12 i2c: Ignore the return value of i2c_del_mux_adapter()
i2c_del_mux_adapter() always returns 0. So all checks testing whether it will be
non zero will always evaluate to false and the conditional code is dead code.
This patch updates all callers of i2c_del_mux_adapter() to ignore its return
value and assume that it will always succeed (which it will). A subsequent
patch will make the return type of i2c_del_mux_adapter() void.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2013-04-02 07:07:29 +02:00
..
i2c-mux-gpio.c i2c: mux: gpio: Check gpio_direction_output return value 2013-03-27 08:55:13 +01:00
i2c-mux-pca954x.c i2c: Ignore the return value of i2c_del_mux_adapter() 2013-04-02 07:07:29 +02:00
i2c-mux-pca9541.c i2c: Fix my e-mail address in drivers and documentation 2013-03-22 11:18:34 +01:00
i2c-mux-pinctrl.c i2c: muxes: fix wrong use of sizeof(ptr) 2013-01-22 09:54:32 +01:00
Kconfig drivers/i2c/muxes: remove depends on CONFIG_EXPERIMENTAL 2013-01-11 11:38:05 -08:00
Makefile i2c: Add generic I2C multiplexer using pinctrl API 2012-06-04 16:49:43 +02:00