summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2018-06-07 11:42:34 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2018-06-08 08:01:02 +0200
commit4e990ef6a002a301b3e6aa8023b74e65eeeb0c2c (patch)
tree56f80ae5605ade1d750400e143fdc50c4dd7b941
parent4108c6d049eea8acaafdf7842c16fdac0589c96c (diff)
downloadbarebox-4e990ef6a002a301b3e6aa8023b74e65eeeb0c2c.tar.gz
wdt: da9053: fix missed dev->hwdev conversion
Fixes: 1ef7cd07a304 (watchdog: rename dev to hwdev) Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--drivers/mfd/da9053.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/da9053.c b/drivers/mfd/da9053.c
index 9adab8c..c706082 100644
--- a/drivers/mfd/da9053.c
+++ b/drivers/mfd/da9053.c
@@ -276,7 +276,7 @@ static int da9053_probe(struct device_d *dev)
da9053->client = to_i2c_client(dev);
da9053->wd.set_timeout = da9053_set_timeout;
da9053->wd.priority = of_get_watchdog_priority(dev->device_node);
- da9053->wd.dev = dev;
+ da9053->wd.hwdev = dev;
ret = da9053_enable_multiwrite(da9053);
if (ret < 0)