Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6cd8a1b9 authored by Fengguang Wu's avatar Fengguang Wu Committed by Wim Van Sebroeck
Browse files

watchdog: lpc18xx_wdt_get_timeleft() can be static

parent cfde37e1
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -123,7 +123,7 @@ static int lpc18xx_wdt_set_timeout(struct watchdog_device *wdt_dev,
	return 0;
	return 0;
}
}


unsigned int lpc18xx_wdt_get_timeleft(struct watchdog_device *wdt_dev)
static unsigned int lpc18xx_wdt_get_timeleft(struct watchdog_device *wdt_dev)
{
{
	struct lpc18xx_wdt_dev *lpc18xx_wdt = watchdog_get_drvdata(wdt_dev);
	struct lpc18xx_wdt_dev *lpc18xx_wdt = watchdog_get_drvdata(wdt_dev);
	unsigned int val;
	unsigned int val;