summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/da9063.c
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2019-11-08 12:03:29 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-11-11 09:20:18 +0100
commit85876c8be75894ecaa8ac75e01bfba0cbe1cfc45 (patch)
tree4c0cd3f75a188484de0f60c9508ce282d9f8b9c4 /drivers/mfd/da9063.c
parent38b62d07a6109f7e00714316afbe2aead8c3dfa3 (diff)
downloadbarebox-85876c8be75894ecaa8ac75e01bfba0cbe1cfc45.tar.gz
barebox-85876c8be75894ecaa8ac75e01bfba0cbe1cfc45.tar.xz
watchdog: always populate watchdog priority from device tree if possible
So far, only the da9063 and da9053 have made use of the optional barebox watchdog-priority binding. Move it into the core, so other device drivers automatically have their watchdog-priority property parsed as well. This patch doesn't introduce any functional changes for upstream boards. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mfd/da9063.c')
-rw-r--r--drivers/mfd/da9063.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mfd/da9063.c b/drivers/mfd/da9063.c
index e1343bac76..0862a7e94c 100644
--- a/drivers/mfd/da9063.c
+++ b/drivers/mfd/da9063.c
@@ -377,7 +377,6 @@ static int da9063_probe(struct device_d *dev)
dev_data = ret < 0 ? NULL : dev_data_tmp;
priv = xzalloc(sizeof(struct da9063));
- priv->wd.priority = of_get_watchdog_priority(dev->device_node);
priv->wd.set_timeout = da9063_watchdog_set_timeout;
priv->wd.hwdev = dev;
priv->timeout = DA9063_INITIAL_TIMEOUT;