]> git.karo-electronics.de Git - linux-beck.git/commitdiff
clk: x86: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:23 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:23 +0000 (16:20 +0200)
A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/clk/x86/clk-lpt.c

index 812f83f8b0c646758c9ac6144ccc6c76e0ed03f6..f827083defc4a7e05f6ede023623c67ba0bb4fe8 100644 (file)
@@ -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,
 };