Home
last modified time | relevance | path

Searched hist:"3 fc62efe" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/thermal/
H A Dspear_thermal.c3fc62efe Sun Oct 21 15:00:50 CDT 2018 Wolfram Sang <wsa+renesas@sang-engineering.com> thermal: spear_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>
3fc62efe Sun Oct 21 15:00:50 CDT 2018 Wolfram Sang <wsa+renesas@sang-engineering.com> thermal: spear_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>