aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/pcap-regulator.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:29 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:29 -0400
commit6c794b2654555d6af7572e3a8f13b2b39126df0c (patch)
tree1bb823bc267c06a0f436f0320a687d8ccba30459 /drivers/regulator/pcap-regulator.c
parentf05fae14a10ca0c07f176e680ef9ff9d348e7153 (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/pcap-regulator.c')
-rw-r--r--drivers/regulator/pcap-regulator.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/regulator/pcap-regulator.c b/drivers/regulator/pcap-regulator.c
index 3727b7d0e9ac..9b16e6158f15 100644
--- a/drivers/regulator/pcap-regulator.c
+++ b/drivers/regulator/pcap-regulator.c
@@ -259,7 +259,6 @@ static int pcap_regulator_probe(struct platform_device *pdev)
259static struct platform_driver pcap_regulator_driver = { 259static struct platform_driver pcap_regulator_driver = {
260 .driver = { 260 .driver = {
261 .name = "pcap-regulator", 261 .name = "pcap-regulator",
262 .owner = THIS_MODULE,
263 }, 262 },
264 .probe = pcap_regulator_probe, 263 .probe = pcap_regulator_probe,
265}; 264};