summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/lp872x.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-07-10 14:44:00 +0900
committerMark Brown <broonie@kernel.org>2015-07-14 18:53:01 +0100
commita807a6cc29115a9a43c168fc0d4540b3d9284815 (patch)
treeb615a2560e908b1c72b316f64955355d56bda7af /drivers/regulator/lp872x.c
parentd770e558e21961ad6cfdf0ff7df0eb5d7d4f0754 (diff)
downloadtalos-obmc-linux-a807a6cc29115a9a43c168fc0d4540b3d9284815.tar.gz
talos-obmc-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/lp872x.c')
-rw-r--r--drivers/regulator/lp872x.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/regulator/lp872x.c b/drivers/regulator/lp872x.c
index 3de328ab41f3..171c7625dd67 100644
--- a/drivers/regulator/lp872x.c
+++ b/drivers/regulator/lp872x.c
@@ -955,7 +955,6 @@ MODULE_DEVICE_TABLE(i2c, lp872x_ids);
static struct i2c_driver lp872x_driver = {
.driver = {
.name = "lp872x",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(lp872x_dt_ids),
},
.probe = lp872x_probe,
OpenPOWER on IntegriCloud