Skip to content

Commit da8e77f

Browse files
Srinivas-Kandagatlamchehab
authored andcommitted
[media] media: st-rc: Remove .owner field for driver
There is no need to init .owner field. Based on the patch from Peter Griffin <peter.griffin@linaro.org> "mmc: remove .owner field for drivers using module_platform_driver" This patch removes the superflous .owner field for drivers which use the module_platform_driver API, as this is overriden in platform_driver_register anyway." Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Acked-by: Maxime Coquelin <maxime.coquelin@st.com> Acked-by: Peter Griffin <peter.griffin@linaro.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
1 parent cdd9a63 commit da8e77f

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎drivers/media/rc/st_rc.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,6 @@ MODULE_DEVICE_TABLE(of, st_rc_match);
392392
static struct platform_driver st_rc_driver = {
393393
.driver = {
394394
.name = IR_ST_NAME,
395-
.owner = THIS_MODULE,
396395
.of_match_table = of_match_ptr(st_rc_match),
397396
.pm = &st_rc_pm_ops,
398397
},

0 commit comments

Comments
 (0)