diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2016-08-16 15:17:13 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2016-09-08 21:34:16 -0700 |
commit | 43943ebb9f0cee2774df64d48f4a21171acf9c85 (patch) | |
tree | b1072fc14153992d278d13e4f4f9b6d5d049362a /drivers/hwmon | |
parent | 2d5aee433d9c5bb6075eb42039a21c5b3728d22d (diff) | |
download | blackbird-op-linux-43943ebb9f0cee2774df64d48f4a21171acf9c85.tar.gz blackbird-op-linux-43943ebb9f0cee2774df64d48f4a21171acf9c85.zip |
hwmon: (scpi) Delete unnecessary assignment for the field "owner"
The field "owner" is set by the core.
Thus delete an unneeded initialisation.
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/scpi-hwmon.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hwmon/scpi-hwmon.c b/drivers/hwmon/scpi-hwmon.c index 25b44e68926d..559a3dcd64d8 100644 --- a/drivers/hwmon/scpi-hwmon.c +++ b/drivers/hwmon/scpi-hwmon.c @@ -255,7 +255,6 @@ static const struct of_device_id scpi_of_match[] = { static struct platform_driver scpi_hwmon_platdrv = { .driver = { .name = "scpi-hwmon", - .owner = THIS_MODULE, .of_match_table = scpi_of_match, }, .probe = scpi_hwmon_probe, |