Skip to content

Commit c2004b6

Browse files
rtc: mt6397: drop unused defines
RTC_NUM_YEARS has never been used, the other defines are not used since commit 34bbdc1 ("rtc: mt6359: Add RTC hardware range and add support for start-year") Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20250303223637.1135362-1-alexandre.belloni@bootlin.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent 119e90a commit c2004b6

File tree

1 file changed

+0
-5
lines changed
  • include/linux/mfd/mt6397

1 file changed

+0
-5
lines changed

include/linux/mfd/mt6397/rtc.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,6 @@
6060
#define RTC_PDN2 0x002e
6161
#define RTC_PDN2_PWRON_ALARM BIT(4)
6262

63-
#define RTC_MIN_YEAR 1968
64-
#define RTC_BASE_YEAR 1900
65-
#define RTC_NUM_YEARS 128
66-
#define RTC_MIN_YEAR_OFFSET (RTC_MIN_YEAR - RTC_BASE_YEAR)
67-
6863
#define MTK_RTC_POLL_DELAY_US 10
6964
#define MTK_RTC_POLL_TIMEOUT (jiffies_to_usecs(HZ))
7065

0 commit comments

Comments
 (0)