OSDN Git Service

drm/meson: dw-hdmi: Use devm_regulator_*get_enable*()
authorMatti Vaittinen <mazziesaccount@gmail.com>
Wed, 30 Nov 2022 09:23:00 +0000 (11:23 +0200)
committerNeil Armstrong <neil.armstrong@linaro.org>
Thu, 1 Dec 2022 08:38:48 +0000 (09:38 +0100)
commit429e8706366166494314a46c82a9a9929aedbb8c
tree35dda6eaeb9f61f9001ab48e5b7b2d7bec263088
parentff1eae1201a46f997126297d2d3440baa2d1b9a9
drm/meson: dw-hdmi: Use devm_regulator_*get_enable*()

Simplify using the devm_regulator_get_enable_optional(). Also drop the
now unused struct member 'hdmi_supply'.

Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/df0096b5aea2a18d1540cde379c5abf589ccd7c4.1669799805.git.mazziesaccount@gmail.com
drivers/gpu/drm/meson/meson_dw_hdmi.c