linux-stable/drivers/i2c/muxes
Uwe Kleine-König 58b59e0f24 i2c: pca954x: improve usage of gpiod API
Since 39b2bbe3d7 (gpio: add flags argument to gpiod_get*() functions)
which appeared in v3.17-rc1, the gpiod_get* functions take an additional
parameter that allows to specify direction and initial value for
outputs.

Also there is an *_optional variant that serves well here.  The sematics
is slightly changed here by using it. Now if a reset gpio is specified
and getting hold on it fails, pca954x_probe fails, too.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2015-03-09 10:51:59 +01:00
..
i2c-arb-gpio-challenge.c i2c: muxes: drop owner assignment from platform_drivers 2014-10-20 16:20:38 +02:00
i2c-mux-gpio.c i2c: muxes: drop owner assignment from platform_drivers 2014-10-20 16:20:38 +02:00
i2c-mux-pca954x.c i2c: pca954x: improve usage of gpiod API 2015-03-09 10:51:59 +01:00
i2c-mux-pca9541.c i2c: delete non-required instances of include <linux/init.h> 2014-01-24 18:24:31 +01:00
i2c-mux-pinctrl.c i2c: muxes: drop owner assignment from platform_drivers 2014-10-20 16:20:38 +02:00
Kconfig i2c: mux: pca954x: fix dependencies 2014-06-27 14:27:19 +02:00
Makefile i2c: mux: Add i2c-arb-gpio-challenge 'mux' driver 2013-04-17 11:31:03 +02:00