Skip to content

Commit

Permalink
rtc: ds1374: remove unused define
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Alexandre Belloni committed Jul 21, 2020
1 parent c7f3be4 commit 3d6cfb3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/rtc/rtc-ds1374.c
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,6 @@ static const struct rtc_class_ops ds1374_rtc_ops = {
#define TIMER_MARGIN_MIN 1
#define TIMER_MARGIN_MAX 4095 /* 24-bit value */

#define DRV_NAME "DS1374 Watchdog"

static int wdt_margin;
module_param(wdt_margin, int, 0);
MODULE_PARM_DESC(wdt_margin, "Watchdog timeout in seconds (default 32s)");
Expand All @@ -389,7 +387,7 @@ MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started (default ="
__MODULE_STRING(WATCHDOG_NOWAYOUT)")");

static const struct watchdog_info ds1374_wdt_info = {
.identity = "DS1374 WTD",
.identity = "DS1374 Watchdog",
.options = WDIOF_SETTIMEOUT | WDIOF_KEEPALIVEPING |
WDIOF_MAGICCLOSE,
};
Expand Down

0 comments on commit 3d6cfb3

Please sign in to comment.