diff options
| author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-08-17 09:10:50 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-08-18 16:15:26 +0200 |
| commit | e086a9cd2b9facf9e081af63f4728371645d1a6f (patch) | |
| tree | a034114da55b88bcf74c7d536bb529e056a3348b /include/linux/timerqueue.h | |
| parent | db27f8294cd703bc23f4b1ccc5023d354c6a63d2 (diff) | |
| download | cachepc-linux-e086a9cd2b9facf9e081af63f4728371645d1a6f.tar.gz cachepc-linux-e086a9cd2b9facf9e081af63f4728371645d1a6f.zip | |
staging: regulator: hi6421v600-regulator: better handle modes
Instead of implementing a custom set of properties, set
valid_modes_mask based on having or not a mask for enabling
the eco_mode.
This makes the code clearer, and remove some uneeded props
from DT.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/0f4ac5a4167bbca428c8507b6992acd8b3ebabd1.1597647359.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
