aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-sh_mobile.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:37 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:37 -0400
commit1ecc4335eba1a264ed8ac5b180a2ffde8113f3db (patch)
tree78fd4d700008a576dc274e4946537ee455529a32 /drivers/i2c/busses/i2c-sh_mobile.c
parenta7629c70d0ffd5ea12e681f0dd168d03ff3b60ec (diff)
i2c: busses: drop owner assignment from platform_drivers
A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-sh_mobile.c')
-rw-r--r--drivers/i2c/busses/i2c-sh_mobile.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-sh_mobile.c b/drivers/i2c/busses/i2c-sh_mobile.c
index 8b5e79cb4468..12b9a69c0285 100644
--- a/drivers/i2c/busses/i2c-sh_mobile.c
+++ b/drivers/i2c/busses/i2c-sh_mobile.c
@@ -798,7 +798,6 @@ static const struct dev_pm_ops sh_mobile_i2c_dev_pm_ops = {
798static struct platform_driver sh_mobile_i2c_driver = { 798static struct platform_driver sh_mobile_i2c_driver = {
799 .driver = { 799 .driver = {
800 .name = "i2c-sh_mobile", 800 .name = "i2c-sh_mobile",
801 .owner = THIS_MODULE,
802 .pm = &sh_mobile_i2c_dev_pm_ops, 801 .pm = &sh_mobile_i2c_dev_pm_ops,
803 .of_match_table = sh_mobile_i2c_dt_ids, 802 .of_match_table = sh_mobile_i2c_dt_ids,
804 }, 803 },