12.03.2021 08:26, Viresh Kumar пишет:
On 11-03-21, 22:20, Dmitry Osipenko wrote:
From: Yangtao Li tiny.windzz@gmail.com
Add devres wrapper for dev_pm_opp_register_notifier() to simplify driver code.
Signed-off-by: Yangtao Li tiny.windzz@gmail.com Signed-off-by: Dmitry Osipenko digetx@gmail.com
drivers/opp/core.c | 38 ++++++++++++++++++++++++++++++++++++++ include/linux/pm_opp.h | 6 ++++++ 2 files changed, 44 insertions(+)
As I said in the previous version, I am not sure if we need this patch at all. This has only one user.
I'll drop this patch in v3, thanks.