]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: media: lirc: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:39 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:39 +0000 (16:21 +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/staging/media/lirc/lirc_parallel.c
drivers/staging/media/lirc/lirc_serial.c
drivers/staging/media/lirc/lirc_sir.c

index 5156c2181016381c6a29627fce4fa4f67c03a526..19c5c21babf557fed108abe5939e535fe45fceec 100644 (file)
@@ -605,7 +605,6 @@ static struct platform_driver lirc_parallel_driver = {
        .resume = lirc_parallel_resume,
        .driver = {
                .name   = LIRC_DRIVER_NAME,
-               .owner  = THIS_MODULE,
        },
 };
 
index 181b92bfe25deef04d4826bcc9cb3fefbbbda582..eb4ccb8d2a937f0c450ec010cf74414e7f643b22 100644 (file)
@@ -1060,7 +1060,6 @@ static struct platform_driver lirc_serial_driver = {
        .resume         = lirc_serial_resume,
        .driver         = {
                .name   = "lirc_serial",
-               .owner  = THIS_MODULE,
        },
 };
 
index 2ee55eaf2a53da8aa66db031a0c158a074d15b4f..e961b5218215ece8a09142067ea6960a20345886 100644 (file)
@@ -931,7 +931,6 @@ static struct platform_driver lirc_sir_driver = {
        .remove         = lirc_sir_remove,
        .driver         = {
                .name   = "lirc_sir",
-               .owner  = THIS_MODULE,
        },
 };