Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1320558
| From | kbuild test robot <lkp@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] 8250: 8250_f81504: fix platform_no_drv_owner.cocci warnings |
| Date | 2016-01-28 12:10 +0100 |
| Message-ID | <qVSCC-2xh-3@gated-at.bofh.it> (permalink) |
| References | <qVSCC-2xh-5@gated-at.bofh.it> <qVR3Q-1j6-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
drivers/tty/serial/8250/8250_f81504.c:233: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
CC: Peter Hung <hpeter@gmail.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
8250_f81504.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/tty/serial/8250/8250_f81504.c
+++ b/drivers/tty/serial/8250/8250_f81504.c
@@ -230,7 +230,6 @@ static SIMPLE_DEV_PM_OPS(f81504_serial_p
static struct platform_driver f81504_serial_driver = {
.driver = {
.name = F81504_SERIAL_NAME,
- .owner = THIS_MODULE,
.pm = &f81504_serial_pm_ops,
},
.probe = f81504_serial_probe,
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH V2 0/4] Transform Fintek PCIE driver from 8250 to MFD Peter Hung <hpeter@gmail.com> - 2016-01-28 10:30 +0100
[PATCH V2 3/4] 8250: 8250_f81504: Add Fintek F81504/508/512 PCIE-to-UART/GPIO UART support Peter Hung <hpeter@gmail.com> - 2016-01-28 10:30 +0100
Re: [PATCH V2 3/4] 8250: 8250_f81504: Add Fintek F81504/508/512 PCIE-to-UART/GPIO UART support One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk> - 2016-01-28 11:20 +0100
[PATCH] 8250: 8250_f81504: fix platform_no_drv_owner.cocci warnings kbuild test robot <lkp@intel.com> - 2016-01-28 12:10 +0100
Re: [PATCH V2 3/4] 8250: 8250_f81504: Add Fintek F81504/508/512 PCIE-to-UART/GPIO UART support kbuild test robot <lkp@intel.com> - 2016-01-28 12:10 +0100
csiph-web