From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============1502869648398170745==" MIME-Version: 1.0 From: kernel test robot Subject: [PATCH] media: rc: fix platform_no_drv_owner.cocci warnings Date: Thu, 15 Jul 2021 15:12:29 +0800 Message-ID: <20210715071229.GA72732@8477bdff9b4e> In-Reply-To: <202107151416.QCeotjjl-lkp@intel.com> List-Id: To: kbuild@lists.01.org --===============1502869648398170745== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable CC: kbuild-all(a)lists.01.org In-Reply-To: <20210714212706.24945-3-viktor.prutyanov@phystech.edu> References: <20210714212706.24945-3-viktor.prutyanov@phystech.edu> TO: Viktor Prutyanov TO: sean(a)mess.org TO: mchehab(a)kernel.org TO: robh+dt(a)kernel.org TO: khilman(a)baylibre.com TO: narmstrong(a)baylibre.com CC: jbrunet(a)baylibre.com CC: martin.blumenstingl(a)googlemail.com CC: linux-media(a)vger.kernel.org CC: devicetree(a)vger.kernel.org CC: linux-kernel(a)vger.kernel.org From: kernel test robot drivers/media/rc/meson-ir-tx.c:401:3-8: No need to set .owner here. The cor= e will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Viktor Prutyanov Reported-by: kernel test robot Signed-off-by: kernel test robot --- url: https://github.com/0day-ci/linux/commits/Viktor-Prutyanov/media-rc-= add-support-for-Amlogic-Meson-IR-blaster/20210715-052839 base: git://linuxtv.org/media_tree.git master :::::: branch date: 10 hours ago :::::: commit date: 10 hours ago meson-ir-tx.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/media/rc/meson-ir-tx.c +++ b/drivers/media/rc/meson-ir-tx.c @@ -398,7 +398,6 @@ static struct platform_driver meson_irtx .remove =3D meson_irtx_remove, .driver =3D { .name =3D DRIVER_NAME, - .owner =3D THIS_MODULE, .of_match_table =3D meson_irtx_dt_match, }, }; --===============1502869648398170745==--