Skip to content
Commit cdaefcce authored by Axel Lin's avatar Axel Lin Committed by Lee Jones
Browse files

backlight: pwm_bl: Simplify usage of devm_gpiod_get_optional



Since 39b2bbe3 (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: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 61c1c614
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment