diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:32 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:32 -0400 |
commit | 7cafb31ca4e85fa4c522cecf917e86e258cfbcaa (patch) | |
tree | b7fec8330ffeb4b31103ef64e3387742deaf11bd /drivers/sbus/char/flash.c | |
parent | f3326ec8a426c73a26dfcd374a463ea2b0f66b52 (diff) |
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/flash.c')
-rw-r--r-- | drivers/sbus/char/flash.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/sbus/char/flash.c b/drivers/sbus/char/flash.c index 25c738e9ef19..206ef4232adf 100644 --- a/drivers/sbus/char/flash.c +++ b/drivers/sbus/char/flash.c | |||
@@ -207,7 +207,6 @@ MODULE_DEVICE_TABLE(of, flash_match); | |||
207 | static struct platform_driver flash_driver = { | 207 | static struct platform_driver flash_driver = { |
208 | .driver = { | 208 | .driver = { |
209 | .name = "flash", | 209 | .name = "flash", |
210 | .owner = THIS_MODULE, | ||
211 | .of_match_table = flash_match, | 210 | .of_match_table = flash_match, |
212 | }, | 211 | }, |
213 | .probe = flash_probe, | 212 | .probe = flash_probe, |