aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/w1
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:56 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:56 -0400
commitce882ad3c93fc076457ce9b97c19735b52b88c45 (patch)
tree714c33b90d583dd8bf41085174e881d2c3cb1965 /drivers/w1
parent257d6e5a3bc7866703748b4ca07dd67f3c1e35ba (diff)
w1: masters: 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/w1')
-rw-r--r--drivers/w1/masters/mxc_w1.c1
-rw-r--r--drivers/w1/masters/w1-gpio.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/w1/masters/mxc_w1.c b/drivers/w1/masters/mxc_w1.c
index da3d0f0ad63c..53bf2c860ad3 100644
--- a/drivers/w1/masters/mxc_w1.c
+++ b/drivers/w1/masters/mxc_w1.c
@@ -175,7 +175,6 @@ MODULE_DEVICE_TABLE(of, mxc_w1_dt_ids);
175static struct platform_driver mxc_w1_driver = { 175static struct platform_driver mxc_w1_driver = {
176 .driver = { 176 .driver = {
177 .name = "mxc_w1", 177 .name = "mxc_w1",
178 .owner = THIS_MODULE,
179 .of_match_table = mxc_w1_dt_ids, 178 .of_match_table = mxc_w1_dt_ids,
180 }, 179 },
181 .probe = mxc_w1_probe, 180 .probe = mxc_w1_probe,
diff --git a/drivers/w1/masters/w1-gpio.c b/drivers/w1/masters/w1-gpio.c
index 1d111e56c8c8..b99a932ad901 100644
--- a/drivers/w1/masters/w1-gpio.c
+++ b/drivers/w1/masters/w1-gpio.c
@@ -228,7 +228,6 @@ static int w1_gpio_resume(struct platform_device *pdev)
228static struct platform_driver w1_gpio_driver = { 228static struct platform_driver w1_gpio_driver = {
229 .driver = { 229 .driver = {
230 .name = "w1-gpio", 230 .name = "w1-gpio",
231 .owner = THIS_MODULE,
232 .of_match_table = of_match_ptr(w1_gpio_dt_ids), 231 .of_match_table = of_match_ptr(w1_gpio_dt_ids),
233 }, 232 },
234 .probe = w1_gpio_probe, 233 .probe = w1_gpio_probe,