aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-sh7760.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-sh7760.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-sh7760.c')
-rw-r--r--drivers/i2c/busses/i2c-sh7760.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-sh7760.c b/drivers/i2c/busses/i2c-sh7760.c
index d76f3d9737ec..24968384b401 100644
--- a/drivers/i2c/busses/i2c-sh7760.c
+++ b/drivers/i2c/busses/i2c-sh7760.c
@@ -552,7 +552,6 @@ static int sh7760_i2c_remove(struct platform_device *pdev)
552static struct platform_driver sh7760_i2c_drv = { 552static struct platform_driver sh7760_i2c_drv = {
553 .driver = { 553 .driver = {
554 .name = SH7760_I2C_DEVNAME, 554 .name = SH7760_I2C_DEVNAME,
555 .owner = THIS_MODULE,
556 }, 555 },
557 .probe = sh7760_i2c_probe, 556 .probe = sh7760_i2c_probe,
558 .remove = sh7760_i2c_remove, 557 .remove = sh7760_i2c_remove,