thermal/drivers/cpu_cooling: Remove pointless field
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Sun, 28 Apr 2019 09:51:05 +0000 (11:51 +0200)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 14 May 2019 14:00:35 +0000 (07:00 -0700)
commit72554a7509aeb3fe94d9cf6746c9cb056622784f
tree1e0cc26ebd927812aab19367d731bbb17fdd78ee
parent0fac9e2f1452ffb6f43926609a569372204262eb
thermal/drivers/cpu_cooling: Remove pointless field

The structure cpufreq_cooling_device provides a backpointer to the thermal
device but this one is used for a trace and to unregister. For the trace,
we don't really need this field and the unregister function as the same
pointer passed as parameter. Remove it.

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/cpu_cooling.c