]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
media: rc: img-ir: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:52 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:52 +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/media/rc/img-ir/img-ir-core.c

index a0cac2f09109d1a5c3a535987915f38206acfc00..77c78de4f5bf57ab4bb899357815d9d064c69272 100644 (file)
@@ -166,7 +166,6 @@ MODULE_DEVICE_TABLE(of, img_ir_match);
 static struct platform_driver img_ir_driver = {
        .driver = {
                .name = "img-ir",
-               .owner  = THIS_MODULE,
                .of_match_table = img_ir_match,
                .pm = &img_ir_pmops,
        },