From: Wolfram Sang Date: Mon, 20 Oct 2014 14:20:52 +0000 (+0200) Subject: media: rc: img-ir: drop owner assignment from platform_drivers X-Git-Tag: v3.19-rc1~78^2~25^2~186 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=04626474b8d74731aff1ecd7137be6d070f28ba6;p=karo-tx-linux.git media: rc: img-ir: drop owner assignment from platform_drivers A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Wolfram Sang --- diff --git a/drivers/media/rc/img-ir/img-ir-core.c b/drivers/media/rc/img-ir/img-ir-core.c index a0cac2f09109..77c78de4f5bf 100644 --- a/drivers/media/rc/img-ir/img-ir-core.c +++ b/drivers/media/rc/img-ir/img-ir-core.c @@ -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, },