diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:29 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:29 -0400 |
commit | 6c794b2654555d6af7572e3a8f13b2b39126df0c (patch) | |
tree | 1bb823bc267c06a0f436f0320a687d8ccba30459 /drivers/regulator/s2mps11.c | |
parent | f05fae14a10ca0c07f176e680ef9ff9d348e7153 (diff) |
regulator: 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/regulator/s2mps11.c')
-rw-r--r-- | drivers/regulator/s2mps11.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/regulator/s2mps11.c b/drivers/regulator/s2mps11.c index adab82d5279f..5248d36927ff 100644 --- a/drivers/regulator/s2mps11.c +++ b/drivers/regulator/s2mps11.c | |||
@@ -936,7 +936,6 @@ MODULE_DEVICE_TABLE(platform, s2mps11_pmic_id); | |||
936 | static struct platform_driver s2mps11_pmic_driver = { | 936 | static struct platform_driver s2mps11_pmic_driver = { |
937 | .driver = { | 937 | .driver = { |
938 | .name = "s2mps11-pmic", | 938 | .name = "s2mps11-pmic", |
939 | .owner = THIS_MODULE, | ||
940 | }, | 939 | }, |
941 | .probe = s2mps11_pmic_probe, | 940 | .probe = s2mps11_pmic_probe, |
942 | .id_table = s2mps11_pmic_id, | 941 | .id_table = s2mps11_pmic_id, |