]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit71f11d6b63ec7cef31d4c82561f7f2935e474e88
tree1e0cc26ebd927812aab19367d731bbb17fdd78ee
parent586ed9a88cc17e526c9034a4d49dbcc67c89911f
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