Uwe Kleine-König cb6e0b3690 net: smc91x: make use of 4th parameter to devm_gpiod_get_index
Since 39b2bbe3d715 (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 output.
Simplify accordingly.

Moreover use devm_gpiod_get_index_optional for still simpler handling.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-03-29 13:05:53 -07:00
..
2015-03-02 16:43:41 -05:00
2015-03-02 16:43:41 -05:00
2014-12-09 21:51:06 -05:00
2015-03-02 16:43:41 -05:00
2015-01-23 17:51:15 -08:00
2015-03-23 17:01:58 -04:00