From: Wolfram Sang Date: Mon, 20 Oct 2014 14:20:23 +0000 (+0200) Subject: clk: x86: drop owner assignment from platform_drivers X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e030f980b3ed2d9f3a3e37f3e6941494c7c0c471;p=linux-beck.git clk: x86: drop owner assignment from platform_drivers A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Wolfram Sang --- diff --git a/drivers/clk/x86/clk-lpt.c b/drivers/clk/x86/clk-lpt.c index 812f83f8b0c6..f827083defc4 100644 --- a/drivers/clk/x86/clk-lpt.c +++ b/drivers/clk/x86/clk-lpt.c @@ -42,7 +42,6 @@ static int lpt_clk_probe(struct platform_device *pdev) static struct platform_driver lpt_clk_driver = { .driver = { .name = "clk-lpt", - .owner = THIS_MODULE, }, .probe = lpt_clk_probe, };