summaryrefslogtreecommitdiffstats
path: root/drivers/sbus/char/bbc_i2c.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:32 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:32 +0200
commit7cafb31ca4e85fa4c522cecf917e86e258cfbcaa (patch)
treeb7fec8330ffeb4b31103ef64e3387742deaf11bd /drivers/sbus/char/bbc_i2c.c
parentf3326ec8a426c73a26dfcd374a463ea2b0f66b52 (diff)
downloadlinux-7cafb31ca4e85fa4c522cecf917e86e258cfbcaa.tar.bz2
sbus: char: 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/sbus/char/bbc_i2c.c')
-rw-r--r--drivers/sbus/char/bbc_i2c.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/sbus/char/bbc_i2c.c b/drivers/sbus/char/bbc_i2c.c
index 812b5f0361b6..129967ad345d 100644
--- a/drivers/sbus/char/bbc_i2c.c
+++ b/drivers/sbus/char/bbc_i2c.c
@@ -413,7 +413,6 @@ MODULE_DEVICE_TABLE(of, bbc_i2c_match);
static struct platform_driver bbc_i2c_driver = {
.driver = {
.name = "bbc_i2c",
- .owner = THIS_MODULE,
.of_match_table = bbc_i2c_match,
},
.probe = bbc_i2c_probe,