[Lima] [PATCH 02/31] opp: Add devres wrapper for dev_pm_opp_set_regulators and dev_pm_opp_put_regulators

Dmitry Osipenko digetx at gmail.com
Wed Jan 20 15:52:43 UTC 2021


01.01.2021 19:54, Yangtao Li пишет:
> Add devres wrapper for dev_pm_opp_set_regulators()
> dev_pm_opp_put_regulators () to simplify driver code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz at gmail.com>
> ---
>  drivers/opp/core.c     | 50 ++++++++++++++++++++++++++++++++++++++++++
>  include/linux/pm_opp.h |  9 ++++++++
>  2 files changed, 59 insertions(+)

Reviewed-by: Dmitry Osipenko <digetx at gmail.com>
Tested-by: Dmitry Osipenko <digetx at gmail.com>


More information about the lima mailing list