diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:20:37 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:20:37 +0200 |
commit | 1ecc4335eba1a264ed8ac5b180a2ffde8113f3db (patch) | |
tree | 78fd4d700008a576dc274e4946537ee455529a32 /drivers/i2c/busses/i2c-designware-platdrv.c | |
parent | a7629c70d0ffd5ea12e681f0dd168d03ff3b60ec (diff) | |
download | op-kernel-dev-1ecc4335eba1a264ed8ac5b180a2ffde8113f3db.zip op-kernel-dev-1ecc4335eba1a264ed8ac5b180a2ffde8113f3db.tar.gz |
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-designware-platdrv.c')
-rw-r--r-- | drivers/i2c/busses/i2c-designware-platdrv.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-designware-platdrv.c b/drivers/i2c/busses/i2c-designware-platdrv.c index a743115..cb0667c 100644 --- a/drivers/i2c/busses/i2c-designware-platdrv.c +++ b/drivers/i2c/busses/i2c-designware-platdrv.c @@ -331,7 +331,6 @@ static struct platform_driver dw_i2c_driver = { .remove = dw_i2c_remove, .driver = { .name = "i2c_designware", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(dw_i2c_of_match), .acpi_match_table = ACPI_PTR(dw_i2c_acpi_match), .pm = &dw_i2c_dev_pm_ops, |