diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 14:20:03 (GMT) |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 14:20:03 (GMT) |
commit | a46ca32ca0ea801fb835794bb069e9449060bbae (patch) | |
tree | b0b5493871e925d59674a8ac30958b1c3b416add | |
parent | f2633f8a53e3e7cbc488e87a9473c040ea3e76ff (diff) | |
download | linux-a46ca32ca0ea801fb835794bb069e9449060bbae.tar.xz |
ARM: mach-msm: 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>
-rw-r--r-- | arch/arm/mach-msm/clock-pcom.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-msm/smd.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-msm/clock-pcom.c b/arch/arm/mach-msm/clock-pcom.c index 9a80449..f5b69d7 100644 --- a/arch/arm/mach-msm/clock-pcom.c +++ b/arch/arm/mach-msm/clock-pcom.c @@ -169,7 +169,6 @@ static struct platform_driver msm_clock_pcom_driver = { .probe = msm_clock_pcom_probe, .driver = { .name = "msm-clock-pcom", - .owner = THIS_MODULE, }, }; module_platform_driver(msm_clock_pcom_driver); diff --git a/arch/arm/mach-msm/smd.c b/arch/arm/mach-msm/smd.c index b1588a1..7550f5a 100644 --- a/arch/arm/mach-msm/smd.c +++ b/arch/arm/mach-msm/smd.c @@ -1019,7 +1019,6 @@ static struct platform_driver msm_smd_driver = { .probe = msm_smd_probe, .driver = { .name = MODULE_NAME, - .owner = THIS_MODULE, }, }; |