]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
extcon: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:30 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:30 +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/extcon/extcon-adc-jack.c
drivers/extcon/extcon-arizona.c
drivers/extcon/extcon-gpio.c
drivers/extcon/extcon-max14577.c
drivers/extcon/extcon-max77693.c
drivers/extcon/extcon-max8997.c
drivers/extcon/extcon-palmas.c

index d860229e4de1455a31c0700aa5667d0b3d6a679d..5d7ab577fba94602e638270cb2e4d34d189ef565 100644 (file)
@@ -182,7 +182,6 @@ static struct platform_driver adc_jack_driver = {
        .remove         = adc_jack_remove,
        .driver         = {
                .name   = "adc-jack",
-               .owner  = THIS_MODULE,
        },
 };
 
index ba51588cc00054bfcf55b76782e3390daa470434..63f01c42aed486af8e3bd74b7f5c07dc0ee98ffd 100644 (file)
@@ -1469,7 +1469,6 @@ static int arizona_extcon_remove(struct platform_device *pdev)
 static struct platform_driver arizona_extcon_driver = {
        .driver         = {
                .name   = "arizona-extcon",
-               .owner  = THIS_MODULE,
        },
        .probe          = arizona_extcon_probe,
        .remove         = arizona_extcon_remove,
index 72f19a37fd01c0266e7c504cf091f0e058b828b9..7af33fc433cd07618ddd647c071402132f5f3c22 100644 (file)
@@ -181,7 +181,6 @@ static struct platform_driver gpio_extcon_driver = {
        .remove         = gpio_extcon_remove,
        .driver         = {
                .name   = "extcon-gpio",
-               .owner  = THIS_MODULE,
                .pm     = &gpio_extcon_pm_ops,
        },
 };
index 7309743d0da1b494c1c864ae25edb09259932354..dfc2fd370eb371cc29742e3e4710a590fff10c38 100644 (file)
@@ -807,7 +807,6 @@ MODULE_DEVICE_TABLE(platform, max14577_muic_id);
 static struct platform_driver max14577_muic_driver = {
        .driver         = {
                .name   = "max14577-muic",
-               .owner  = THIS_MODULE,
        },
        .probe          = max14577_muic_probe,
        .remove         = max14577_muic_remove,
index 490e27475bac08d6c883fb9ef1d4bf70ba7e4dc9..5bf5c5e66f164ab561a71a15b82a43ebf15e7c19 100644 (file)
@@ -1301,7 +1301,6 @@ static int max77693_muic_remove(struct platform_device *pdev)
 static struct platform_driver max77693_muic_driver = {
        .driver         = {
                .name   = DEV_NAME,
-               .owner  = THIS_MODULE,
        },
        .probe          = max77693_muic_probe,
        .remove         = max77693_muic_remove,
index 75e501c980054d80bb5be4d0a8b346bd8fe5cec0..fc1678fa95c4cd258401a1eee871c8ed8ee6f59f 100644 (file)
@@ -792,7 +792,6 @@ static int max8997_muic_remove(struct platform_device *pdev)
 static struct platform_driver max8997_muic_driver = {
        .driver         = {
                .name   = DEV_NAME,
-               .owner  = THIS_MODULE,
        },
        .probe          = max8997_muic_probe,
        .remove         = max8997_muic_remove,
index 230e1220ce48bc49ef24bd5683ca1c074e94202e..11c6757b6c4051b8a4198ecf6b2631591f264e9d 100644 (file)
@@ -291,7 +291,6 @@ static struct platform_driver palmas_usb_driver = {
        .driver = {
                .name = "palmas-usb",
                .of_match_table = of_palmas_match_tbl,
-               .owner = THIS_MODULE,
                .pm = &palmas_pm_ops,
        },
 };