summaryrefslogtreecommitdiff
path: root/drivers/mfd/axp20x.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-07-10 14:05:40 +0900
committerLee Jones <lee.jones@linaro.org>2015-08-11 15:08:48 +0100
commit0e777366fb0eba6facc44f0604fe6adbaf21d604 (patch)
tree99eb642253ab6a715acb68c6169697d97f98583a /drivers/mfd/axp20x.c
parent66f2752fbb3b50ef816c41f07a6654610bb648ac (diff)
downloadlwn-0e777366fb0eba6facc44f0604fe6adbaf21d604.tar.gz
lwn-0e777366fb0eba6facc44f0604fe6adbaf21d604.zip
mfd: Drop owner assignment from i2c_drivers
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: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/axp20x.c')
-rw-r--r--drivers/mfd/axp20x.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c
index 6df91556faf3..8c2c3c4c9a56 100644
--- a/drivers/mfd/axp20x.c
+++ b/drivers/mfd/axp20x.c
@@ -613,7 +613,6 @@ static int axp20x_i2c_remove(struct i2c_client *i2c)
static struct i2c_driver axp20x_i2c_driver = {
.driver = {
.name = "axp20x",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(axp20x_of_match),
.acpi_match_table = ACPI_PTR(axp20x_acpi_match),
},