diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:37 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:37 -0400 |
commit | 1ecc4335eba1a264ed8ac5b180a2ffde8113f3db (patch) | |
tree | 78fd4d700008a576dc274e4946537ee455529a32 /drivers/i2c/busses/i2c-sun6i-p2wi.c | |
parent | a7629c70d0ffd5ea12e681f0dd168d03ff3b60ec (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-sun6i-p2wi.c')
-rw-r--r-- | drivers/i2c/busses/i2c-sun6i-p2wi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-sun6i-p2wi.c b/drivers/i2c/busses/i2c-sun6i-p2wi.c index 4d75d4759709..7668e2e9b8fd 100644 --- a/drivers/i2c/busses/i2c-sun6i-p2wi.c +++ b/drivers/i2c/busses/i2c-sun6i-p2wi.c | |||
@@ -332,7 +332,6 @@ static struct platform_driver p2wi_driver = { | |||
332 | .probe = p2wi_probe, | 332 | .probe = p2wi_probe, |
333 | .remove = p2wi_remove, | 333 | .remove = p2wi_remove, |
334 | .driver = { | 334 | .driver = { |
335 | .owner = THIS_MODULE, | ||
336 | .name = "i2c-sunxi-p2wi", | 335 | .name = "i2c-sunxi-p2wi", |
337 | .of_match_table = p2wi_of_match_table, | 336 | .of_match_table = p2wi_of_match_table, |
338 | }, | 337 | }, |