Re: [PATCH 3/6] watchdog: at91sam9: rename heartbeats into timeout where necessary

2015-10-12 Thread Sylvain Rochet
On Thu, Oct 08, 2015 at 11:34:31PM +0200, Sylvain Rochet wrote: > > @@ -344,7 +342,7 @@ static int __init at91wdt_probe(struct platform_device > *pdev) > wdt->wdd.parent = &pdev->dev; > wdt->wdd.info = &at91_wdt_info; > wdt->wdd.ops = &at91_wdt_ops; > - wdt->wdd.timeout = WD

[PATCH 3/6] watchdog: at91sam9: rename heartbeats into timeout where necessary

2015-10-08 Thread Sylvain Rochet
There is a confusing naming here, heartbeats is used instead of timeout where the real meaning is timeout in various places. Remove the unused WDT_TIMEOUT variable, which used to be a heartbeat value. Rename WDT_HEARTBEAT into WDT_DEFAULT_TIMEOUT and rename "heartbeats" into "timeout" in pr_ strin