diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2016-08-14 21:42:17 +0200 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2016-08-22 11:09:33 +1000 |
commit | aded76bac54d1dd0a9c9203aa29a78423edc4cde (patch) | |
tree | eebe4350dafe4e0bb07aacdd5aa562fb28b1f28b /drivers/macintosh/ams | |
parent | e340eca90ee18547027a6d5745ffabf7d173dfcc (diff) | |
download | linux-aded76bac54d1dd0a9c9203aa29a78423edc4cde.tar.bz2 |
drivers/macintosh: Delete owner assignment
The field "owner" is set by core. Thus delete an extra initialisation.
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/macintosh/ams')
-rw-r--r-- | drivers/macintosh/ams/ams-i2c.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/macintosh/ams/ams-i2c.c b/drivers/macintosh/ams/ams-i2c.c index 978eda8d6678..8a3ba565106f 100644 --- a/drivers/macintosh/ams/ams-i2c.c +++ b/drivers/macintosh/ams/ams-i2c.c @@ -73,7 +73,6 @@ MODULE_DEVICE_TABLE(i2c, ams_id); static struct i2c_driver ams_i2c_driver = { .driver = { .name = "ams", - .owner = THIS_MODULE, }, .probe = ams_i2c_probe, .remove = ams_i2c_remove, |