diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2018-10-21 22:00:49 +0200 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2018-11-30 16:46:56 +0800 |
commit | 26d84c276c1ecde8548aff41c9fa9e63ceac924e (patch) | |
tree | 50d74e2820c70e67f481133620f37d5af158a15f /drivers/thermal/spear_thermal.c | |
parent | 9d6f76c6e82c336aaa57bc0c6e54e0444117bcee (diff) | |
download | linux-26d84c276c1ecde8548aff41c9fa9e63ceac924e.tar.gz linux-26d84c276c1ecde8548aff41c9fa9e63ceac924e.tar.bz2 linux-26d84c276c1ecde8548aff41c9fa9e63ceac924e.zip |
thermal: rockchip_thermal: simplify getting .driver_data
We should get 'driver_data' from 'struct device' directly. Going via
platform_device is an unneeded step back and forth.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal/spear_thermal.c')
0 files changed, 0 insertions, 0 deletions