rtc: mt6397: drop unused defines
Subsystems (2)
PATCH 1/1 rtc: mt6397: drop unused defines
From: Alexandre Belloni <[email protected]>
RTC_NUM_YEARS has never been used, the other defines are not used since commit 34bbdc12d04e ("rtc: mt6359: Add RTC hardware range and add support for start-year")
Signed-off-by Alexandre Belloni <[email protected]>
--- include/linux/mfd/mt6397/rtc.h | 5 ----- 1 file changed, 5 deletions(-)
include/linux/mfd/mt6397/rtc.h +0 -5
@@ -60,11 +60,6 @@#define RTC_PDN2 0x002e#define RTC_PDN2_PWRON_ALARM BIT(4) -#define RTC_MIN_YEAR 1968 -#define RTC_BASE_YEAR 1900 -#define RTC_NUM_YEARS 128 -#define RTC_MIN_YEAR_OFFSET (RTC_MIN_YEAR - RTC_BASE_YEAR) -#define MTK_RTC_POLL_DELAY_US 10#define MTK_RTC_POLL_TIMEOUT (jiffies_to_usecs(HZ))
Signature · 1 line
2.48.1
Il 03/03/25 23:36, [email protected] ha scritto:
Quoted 7 lines
From: Alexandre Belloni <[email protected]>
RTC_NUM_YEARShas never been used, the other defines are not used since commit34bbdc12d04e("rtc: mt6359: Add RTC hardware range and add support for start-year")Signed-off-by Alexandre Belloni <[email protected]>
Reviewed-by AngeloGioacchino Del Regno <[email protected]>