Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1305539
| From | kbuild test robot <lkp@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] fix platform_no_drv_owner.cocci warnings |
| Date | 2016-01-10 11:50 +0100 |
| Message-ID | <qPlJn-2YG-3@gated-at.bofh.it> (permalink) |
| References | <qPlJn-2YG-5@gated-at.bofh.it> <qPkkj-2bU-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
drivers/video/backlight/imanager-bl.c:187: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: Richard Vidal-Dorsch <richard.dorsch@gmail.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
imanager-bl.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/video/backlight/imanager-bl.c
+++ b/drivers/video/backlight/imanager-bl.c
@@ -184,7 +184,6 @@ static int imanager_backlight_remove(str
static struct platform_driver imanager_backlight_driver = {
.driver = {
- .owner = THIS_MODULE,
.name = "imanager_backlight",
},
.probe = imanager_backlight_probe,
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v2 5/6] Add Advantech iManager Backlight driver richard.dorsch@gmail.com - 2016-01-10 10:20 +0100 [PATCH] fix platform_no_drv_owner.cocci warnings kbuild test robot <lkp@intel.com> - 2016-01-10 11:50 +0100
csiph-web