summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/pfuze100-regulator.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-07-10 07:44:00 +0200
committerMark Brown <broonie@kernel.org>2015-07-14 19:53:01 +0200
commita807a6cc29115a9a43c168fc0d4540b3d9284815 (patch)
treeb615a2560e908b1c72b316f64955355d56bda7af /drivers/regulator/pfuze100-regulator.c
parentLinux 4.2-rc1 (diff)
downloadlinux-a807a6cc29115a9a43c168fc0d4540b3d9284815.tar.xz
linux-a807a6cc29115a9a43c168fc0d4540b3d9284815.zip
regulator: drivers: Drop owner assignment from i2c_driver
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/pfuze100-regulator.c')
-rw-r--r--drivers/regulator/pfuze100-regulator.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/regulator/pfuze100-regulator.c b/drivers/regulator/pfuze100-regulator.c
index 8cc8d1877c44..2f66821d53cb 100644
--- a/drivers/regulator/pfuze100-regulator.c
+++ b/drivers/regulator/pfuze100-regulator.c
@@ -643,7 +643,6 @@ static struct i2c_driver pfuze_driver = {
.id_table = pfuze_device_id,
.driver = {
.name = "pfuze100-regulator",
- .owner = THIS_MODULE,
.of_match_table = pfuze_dt_ids,
},
.probe = pfuze100_regulator_probe,