aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-pnx.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-pnx.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-pnx.c')
-rw-r--r--drivers/i2c/busses/i2c-pnx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-pnx.c b/drivers/i2c/busses/i2c-pnx.c
index dc7ff829ad78..e814a36d9b78 100644
--- a/drivers/i2c/busses/i2c-pnx.c
+++ b/drivers/i2c/busses/i2c-pnx.c
@@ -751,7 +751,6 @@ MODULE_DEVICE_TABLE(of, i2c_pnx_of_match);
751static struct platform_driver i2c_pnx_driver = { 751static struct platform_driver i2c_pnx_driver = {
752 .driver = { 752 .driver = {
753 .name = "pnx-i2c", 753 .name = "pnx-i2c",
754 .owner = THIS_MODULE,
755 .of_match_table = of_match_ptr(i2c_pnx_of_match), 754 .of_match_table = of_match_ptr(i2c_pnx_of_match),
756 .pm = PNX_I2C_PM, 755 .pm = PNX_I2C_PM,
757 }, 756 },