soc/tegra: Don't print error message when OPPs not available
authorDmitry Osipenko <digetx@gmail.com>
Tue, 30 Nov 2021 23:23:10 +0000 (02:23 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 16 Dec 2021 13:03:38 +0000 (14:03 +0100)
commit66209e6fbd564f1bb3c69248423e4b761904a943
treebabd6b61ec99cd455449f363b15c32ba8ad63351
parent9131c6331726514f0d0364c41f8733cc5eec11ab
soc/tegra: Don't print error message when OPPs not available

Previously we assumed that devm_tegra_core_dev_init_opp_table() will
be used only by drivers that will always have device with OPP table,
but this is not true anymore. For example now Tegra30 will have OPP table
for PWM, but Tegra20 not and both use the same driver. Hence let's not
print the error message about missing OPP table in the common helper,
we can print it elsewhere.

Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/common.c