tty: serial: fix platform_no_drv_owner.cocci warnings
authorkbuild test robot <lkp@intel.com>
Sun, 25 Aug 2019 14:28:37 +0000 (22:28 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Sep 2019 10:44:11 +0000 (12:44 +0200)
commit8966110c56459d3d0cf3bded77a92988063b0842
tree48490b08ab2bd0753ad6ce2711634176f95c1b19
parent0e16feab6cce2b91d2996d4bc4eff01ece577c4a
tty: serial: fix platform_no_drv_owner.cocci warnings

drivers/tty/serial/fsl_linflexuart.c:907:3-8: No need to set .owner here. The core will do it.

 Remove .owner field if calls are used which set it automatically

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Fixes: b953815b819b ("tty: serial: Add linflexuart driver for S32V234")
CC: Stefan-gabriel Mirea <stefan-gabriel.mirea@nxp.com>
Signed-off-by: kbuild test robot <lkp@intel.com>
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20190825142837.zt3hpa22c7iofg3v@48261080c7f1
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/fsl_linflexuart.c