diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-08-04 15:48:28 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-08-13 15:17:34 -0400 |
commit | ffdec3000a616b7a79bb720073c8ee075639af40 (patch) | |
tree | a0eb4329d8f5106a3d3d51b7d19c781db14c52f6 /drivers/watchdog | |
parent | 160cfc4b5a6f761d07ade25472ab1d8408100d1a (diff) |
wdt: Update uclass to make clear that the timeout is in ms
Convert name to show explicitly that we are using milliseconds. For a
watchdog timer this is precise enough.
No functional change intended.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r-- | drivers/watchdog/wdt-uclass.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/watchdog/wdt-uclass.c b/drivers/watchdog/wdt-uclass.c index bb9ae808666..8a30f024fdb 100644 --- a/drivers/watchdog/wdt-uclass.c +++ b/drivers/watchdog/wdt-uclass.c @@ -13,14 +13,14 @@ DECLARE_GLOBAL_DATA_PTR; -int wdt_start(struct udevice *dev, u64 timeout, ulong flags) +int wdt_start(struct udevice *dev, u64 timeout_ms, ulong flags) { const struct wdt_ops *ops = device_get_ops(dev); if (!ops->start) return -ENOSYS; - return ops->start(dev, timeout, flags); + return ops->start(dev, timeout_ms, flags); } int wdt_stop(struct udevice *dev) |