summaryrefslogtreecommitdiff
path: root/drivers/sbus/char/uctrl.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/uctrl.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/uctrl.c')
-rw-r--r--drivers/sbus/char/uctrl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/sbus/char/uctrl.c b/drivers/sbus/char/uctrl.c
index b7acafc85099..57696fc0b482 100644
--- a/drivers/sbus/char/uctrl.c
+++ b/drivers/sbus/char/uctrl.c
@@ -425,7 +425,6 @@ MODULE_DEVICE_TABLE(of, uctrl_match);
static struct platform_driver uctrl_driver = {
.driver = {
.name = "uctrl",
- .owner = THIS_MODULE,
.of_match_table = uctrl_match,
},
.probe = uctrl_probe,