diff options
| author | Svyatoslav Ryhel <[email protected]> | 2023-10-03 09:25:32 +0300 |
|---|---|---|
| committer | Anatolij Gustschin <[email protected]> | 2023-10-22 19:23:47 +0200 |
| commit | 251ff3493233a8fddd4468ff341d63d592b608d4 (patch) | |
| tree | 40b1d7f58663c2acaa28782dd87fbaf1c1bd0ec2 /scripts/checkpatch.pl | |
| parent | 9a3a58396b78b1f9d0c14580dc03f81d29207dd2 (diff) | |
video: pwm_backlight: use regulator_set_enable_if_allowed
With the commit 4fcba5d556b4 ("regulator: implement basic reference
counter") the return value of regulator_set_enable may be EALREADY or
EBUSY for fixed/gpio regulators and may be further expanded on all
regulators.
Change to use the more relaxed regulator_set_enable_if_allowed to
continue if regulator already was enabled or disabled.
Signed-off-by: Svyatoslav Ryhel <[email protected]>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
