]> asedeno.scripts.mit.edu Git - linux.git/commit
clk: samsung: simplify getting .drvdata
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 19 Apr 2018 14:05:35 +0000 (16:05 +0200)
committerStephen Boyd <sboyd@kernel.org>
Tue, 15 May 2018 21:05:10 +0000 (14:05 -0700)
commit5c5e4fe37db02ff90e436c342e922212b6f79f37
tree777891ce5dab020024bcdae7979a6fec33c27d57
parent60cc43fc888428bb2f18f08997432d426a243338
clk: samsung: simplify getting .drvdata

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>
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/samsung/clk-s3c2410-dclk.c