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

From: Dmitry Osipenko
Date: Wed Jan 20 2021 - 11:05:03 EST


01.01.2021 19:55, Yangtao Li пишет:
> Use devm_pm_opp_* API to simplify code.
>
> Signed-off-by: Yangtao Li <tiny.windzz@xxxxxxxxx>
> ---
> 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.