diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2016-08-15 10:30:31 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-08-15 13:46:55 +0100 |
commit | 556ae220ac64b6564be8d76d855e26b65fcf75bf (patch) | |
tree | 010f770197679a98e3c1b65e0777240234f85148 /drivers/regulator | |
parent | 29b4817d4018df78086157ea3a55c1d9424a7cfc (diff) | |
download | op-kernel-dev-556ae220ac64b6564be8d76d855e26b65fcf75bf.zip op-kernel-dev-556ae220ac64b6564be8d76d855e26b65fcf75bf.tar.gz |
regulator: rk808: 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: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/rk808-regulator.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/regulator/rk808-regulator.c b/drivers/regulator/rk808-regulator.c index 40d07ba0..a676749 100644 --- a/drivers/regulator/rk808-regulator.c +++ b/drivers/regulator/rk808-regulator.c @@ -533,8 +533,7 @@ static int rk808_regulator_probe(struct platform_device *pdev) static struct platform_driver rk808_regulator_driver = { .probe = rk808_regulator_probe, .driver = { - .name = "rk808-regulator", - .owner = THIS_MODULE, + .name = "rk808-regulator" }, }; |