Re: [PATCH 24/31] memory: tegra20: convert to use devm_pm_opp_* API

Dmitry Osipenko
2021-01-20T16:09:49Z

01.01.2021 19:55, Yangtao Li пишет:
> Use devm_pm_opp_* API to simplify code.
>
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
> ---
> drivers/memory/tegra/tegra20-emc.c | 29 +++++++++--------------------
> 1 file changed, 9 insertions(+), 20 deletions(-)

There are also tegra30-emc.c and tegra124-emc.c with a similar OPP code.

But could we please not touch these memory drivers? I already have a
prepared patch which replaces all the tegra_emc_opp_table_init() with a
single common helper that will use devm_opp_* helpers.