diff options
author | Paul Cercueil <paul@crapouillou.net> | 2022-12-14 13:58:13 +0100 |
---|---|---|
committer | Paul Cercueil <paul@crapouillou.net> | 2022-12-16 11:38:30 +0100 |
commit | 334c8c1d3f2b0a77ef4f1577b3f5045564921c31 (patch) | |
tree | a3e1713ea8ab1aa307c387e5ffdf9295b0e96fcd /drivers/isdn | |
parent | d595bde8b9891e7ec6bc087c8fe0c758322d25ab (diff) | |
download | linux-334c8c1d3f2b0a77ef4f1577b3f5045564921c31.tar.gz |
drm: bridge: it66121: Use devm_regulator_bulk_get_enable()
Simplify the code of the driver by using
devm_regulator_bulk_get_enable(), which will handle powering up the
regulators, and disabling them on probe error or module removal.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20221214125821.12489-3-paul@crapouillou.net
Diffstat (limited to 'drivers/isdn')
0 files changed, 0 insertions, 0 deletions