]> git.karo-electronics.de Git - linux-beck.git/commitdiff
powerpc: platforms: 52xx: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:10 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:10 +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>
arch/powerpc/platforms/52xx/mpc52xx_gpt.c
arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c

index 692998244d2c316d54880b262653fe21c66c9e35..c949ca055712be9c6bbe5ff4ed808d2d640a434a 100644 (file)
@@ -782,7 +782,6 @@ static const struct of_device_id mpc52xx_gpt_match[] = {
 static struct platform_driver mpc52xx_gpt_driver = {
        .driver = {
                .name = "mpc52xx-gpt",
-               .owner = THIS_MODULE,
                .of_match_table = mpc52xx_gpt_match,
        },
        .probe = mpc52xx_gpt_probe,
index f8f0081759fb7941ab70de2994c07ffb70e8ec5d..251dcb90ef34f62d92d2093705cfc78abf8c5bb3 100644 (file)
@@ -572,7 +572,6 @@ static const struct of_device_id mpc52xx_lpbfifo_match[] = {
 static struct platform_driver mpc52xx_lpbfifo_driver = {
        .driver = {
                .name = "mpc52xx-lpbfifo",
-               .owner = THIS_MODULE,
                .of_match_table = mpc52xx_lpbfifo_match,
        },
        .probe = mpc52xx_lpbfifo_probe,