From: Axel Lin Date: Sat, 16 May 2015 14:08:10 +0000 (+0800) Subject: backlight: pwm_bl: Simplify usage of devm_gpiod_get_optional X-Git-Tag: omap-for-v4.2/fixes-rc1^2~133^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdaefccefa988495e732d85d81914fbba99f4ca6;p=pandora-kernel.git backlight: pwm_bl: Simplify usage of devm_gpiod_get_optional Since 39b2bbe3d715 (gpio: add flags argument to gpiod_get*() functions), the gpiod_get* functions take an additional parameter that allows to specify direction and initial value for output. Simplify the usage of devm_gpiod_get_optional accordingly. Signed-off-by: Axel Lin Signed-off-by: Lee Jones --- Reading git-diff-tree failed