From: Uwe Kleine-König Date: Thu, 26 Mar 2015 21:26:08 +0000 (+0100) Subject: net: smc91x: make use of 4th parameter to devm_gpiod_get_index X-Git-Tag: omap-for-v4.1/fixes-rc1~141^2~126 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb6e0b3690f48dffb9397c3e868164b689420441;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed