aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/backlight.h
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2015-05-16 22:08:10 +0800
committerLee Jones <lee.jones@linaro.org>2015-06-23 15:47:34 +0100
commitcdaefccefa988495e732d85d81914fbba99f4ca6 (patch)
tree8aea93f7163c652a3b485bc91e14bd7fd1a6be93 /include/linux/backlight.h
parentbacklight: lp855x: Don't clear level on suspend/blank (diff)
downloadlinux-dev-cdaefccefa988495e732d85d81914fbba99f4ca6.tar.xz
linux-dev-cdaefccefa988495e732d85d81914fbba99f4ca6.zip
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 <axel.lin@ingics.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/backlight.h')
0 files changed, 0 insertions, 0 deletions