Skip to content

Commit 3d6cfb3

Browse files
rtc: ds1374: remove unused define
Remove unused define and fix typo where it should have been used. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20200720075250.1019172-2-alexandre.belloni@bootlin.com
1 parent c7f3be4 commit 3d6cfb3

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

drivers/rtc/rtc-ds1374.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -377,8 +377,6 @@ static const struct rtc_class_ops ds1374_rtc_ops = {
377377
#define TIMER_MARGIN_MIN 1
378378
#define TIMER_MARGIN_MAX 4095 /* 24-bit value */
379379

380-
#define DRV_NAME "DS1374 Watchdog"
381-
382380
static int wdt_margin;
383381
module_param(wdt_margin, int, 0);
384382
MODULE_PARM_DESC(wdt_margin, "Watchdog timeout in seconds (default 32s)");
@@ -389,7 +387,7 @@ MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started (default ="
389387
__MODULE_STRING(WATCHDOG_NOWAYOUT)")");
390388

391389
static const struct watchdog_info ds1374_wdt_info = {
392-
.identity = "DS1374 WTD",
390+
.identity = "DS1374 Watchdog",
393391
.options = WDIOF_SETTIMEOUT | WDIOF_KEEPALIVEPING |
394392
WDIOF_MAGICCLOSE,
395393
};

0 commit comments

Comments
 (0)