Skip to content

Commit 972a3b4

Browse files
andredalexandrebelloni
authored andcommitted
rtc: s5m: fix a typo: peding -> pending
Fix this minor typo, and adjust the a related incorrect alignment to avoid a checkpatch error. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: André Draszik <andre.draszik@linaro.org> Link: https://lore.kernel.org/r/20250409-s2mpg10-v4-28-d66d5f39b6bf@linaro.org Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent e641808 commit 972a3b4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/rtc/rtc-s5m.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,8 @@ static int s5m8767_wait_for_udr_update(struct s5m_rtc_info *info)
243243
return ret;
244244
}
245245

246-
static int s5m_check_peding_alarm_interrupt(struct s5m_rtc_info *info,
247-
struct rtc_wkalrm *alarm)
246+
static int s5m_check_pending_alarm_interrupt(struct s5m_rtc_info *info,
247+
struct rtc_wkalrm *alarm)
248248
{
249249
int ret;
250250
unsigned int val;
@@ -451,7 +451,7 @@ static int s5m_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alrm)
451451

452452
dev_dbg(dev, "%s: %ptR(%d)\n", __func__, &alrm->time, alrm->time.tm_wday);
453453

454-
return s5m_check_peding_alarm_interrupt(info, alrm);
454+
return s5m_check_pending_alarm_interrupt(info, alrm);
455455
}
456456

457457
static int s5m_rtc_stop_alarm(struct s5m_rtc_info *info)

0 commit comments

Comments
 (0)