OSDN Git Service

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 e7bd62c..3e5e051 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,
 };