Thread (68 messages) 68 messages, 27 authors, 2019-03-19

[PATCH 50/61] thermal: simplify getting .drvdata

From: shawnguo@kernel.org (Shawn Guo)
Date: 2018-05-02 08:52:42
Also in: kernel-janitors, linux-pm, linux-renesas-soc, linux-rockchip, lkml

On Thu, Apr 19, 2018 at 04:06:20PM +0200, Wolfram Sang wrote:
We should get drvdata 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>
---

Build tested only. buildbot is happy. Please apply individually.

 drivers/thermal/rockchip_thermal.c | 8 +++-----
 drivers/thermal/spear_thermal.c    | 8 +++-----
 drivers/thermal/zx2967_thermal.c   | 6 ++----
 3 files changed, 8 insertions(+), 14 deletions(-)
For zx2967_thermal,

Acked-by: Shawn Guo <shawnguo@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help