commit | df535485bb74aa4bb25f2715d776ccea807a7809 | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | Tue Mar 19 17:36:35 2019 +0100 |
committer | Eduardo Valentin <edubezval@gmail.com> | Mon May 13 20:35:35 2019 -0700 |
tree | 3dba05f1554c34b2c4f59d3f2a01b54e2be561c1 | |
parent | 0f54aa5cafbe8434e2938c1cc64ac2e4fe60f0c0 [diff] |
thermal: stm32: 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: Simon Horman <horms+renesas@verge.net.au> Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>