summaryrefslogtreecommitdiff
path: root/drivers/sbus/char/envctrl.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 18:21:32 +0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 18:21:32 +0400
commit7cafb31ca4e85fa4c522cecf917e86e258cfbcaa (patch)
treeb7fec8330ffeb4b31103ef64e3387742deaf11bd /drivers/sbus/char/envctrl.c
parentf3326ec8a426c73a26dfcd374a463ea2b0f66b52 (diff)
downloadlinux-7cafb31ca4e85fa4c522cecf917e86e258cfbcaa.tar.xz
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/envctrl.c')
-rw-r--r--drivers/sbus/char/envctrl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/sbus/char/envctrl.c b/drivers/sbus/char/envctrl.c
index af15a2fdab5e..e244cf3d9ec8 100644
--- a/drivers/sbus/char/envctrl.c
+++ b/drivers/sbus/char/envctrl.c
@@ -1130,7 +1130,6 @@ MODULE_DEVICE_TABLE(of, envctrl_match);
static struct platform_driver envctrl_driver = {
.driver = {
.name = DRIVER_NAME,
- .owner = THIS_MODULE,
.of_match_table = envctrl_match,
},
.probe = envctrl_probe,