diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2019-04-13 11:27:37 +0300 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2019-05-14 17:00:27 +0300 |
commit | f86a7a847ca39e613985b7419ce3970af91486b1 (patch) | |
tree | 10f60e6fcece75b105ea76427f41b865c87b2aca /drivers/thermal/clock_cooling.c | |
parent | 71aa3693493d5f51822d88cdd26bc5a51ae5544f (diff) | |
download | linux-f86a7a847ca39e613985b7419ce3970af91486b1.tar.xz |
thermal: qoriq: Remove unnecessary DT node is NULL check
It's impossible to use this driver outside of Device Tree, so if the
probe function is called, the dev.of_node is guaranteed to not be NULL
and guarding against that is pointless. Drop it.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Chris Healy <cphealy@gmail.com>
Cc: Lucas Stach <l.stach@pengutronix.de>
Cc: Eduardo Valentin <edubezval@gmail.com>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Angus Ainslie (Purism) <angus@akkea.ca>
Cc: linux-imx@nxp.com
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/clock_cooling.c')
0 files changed, 0 insertions, 0 deletions