]> git.karo-electronics.de Git - linux-beck.git/commitdiff
clk: ux500: 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/ux500/abx500-clk.c

index e7bd62cf60b350897cfd9f593afd803e8136cf68..3e5e05101302e569d5bda1a68451abc56b6bb4d0 100644 (file)
@@ -121,7 +121,6 @@ static int abx500_clk_probe(struct platform_device *pdev)
 static struct platform_driver abx500_clk_driver = {
        .driver = {
                .name = "abx500-clk",
-               .owner = THIS_MODULE,
        },
        .probe  = abx500_clk_probe,
 };