diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2018-10-21 22:00:51 +0200 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2018-11-30 09:46:57 +0100 |
commit | 445ae758ceaf394636ad7ab9872f52cdc24165a6 (patch) | |
tree | ce8b8bd989467a8801f07251d0418d6e431fd5f5 /drivers/thermal/zx2967_thermal.c | |
parent | thermal: spear_thermal: simplify getting .driver_data (diff) | |
download | linux-445ae758ceaf394636ad7ab9872f52cdc24165a6.tar.xz linux-445ae758ceaf394636ad7ab9872f52cdc24165a6.zip |
thermal: st: st_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: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal/zx2967_thermal.c')
0 files changed, 0 insertions, 0 deletions