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
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
2 matches
Mail list logo