From cdaefccefa988495e732d85d81914fbba99f4ca6 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Sat, 16 May 2015 22:08:10 +0800 Subject: [PATCH] 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-format-patch failed