summaryrefslogtreecommitdiff
path: root/include/arch/x86_64/linux/rtc.h
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-25 19:24:38 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-25 20:35:03 +0100
commita984eb367c032dbe2577f01238c3d1268526be70 (patch)
tree437fef40379b2758b129ccea39df3570fa2d145e /include/arch/x86_64/linux/rtc.h
parent8834571b202cf4dc9c649cfb096c213b6ecf1566 (diff)
Clang-tidy fixes
Diffstat (limited to 'include/arch/x86_64/linux/rtc.h')
-rw-r--r--include/arch/x86_64/linux/rtc.h21
1 files changed, 9 insertions, 12 deletions
diff --git a/include/arch/x86_64/linux/rtc.h b/include/arch/x86_64/linux/rtc.h
index 0f9c0d99..3ab176b9 100644
--- a/include/arch/x86_64/linux/rtc.h
+++ b/include/arch/x86_64/linux/rtc.h
@@ -104,25 +104,22 @@ struct rtc_param {
#define RTC_WKALM_SET _IOW('p', 0x0f, struct rtc_wkalrm) /* Set wakeup alarm*/
#define RTC_WKALM_RD _IOR('p', 0x10, struct rtc_wkalrm) /* Get wakeup alarm*/
-#define RTC_PLL_GET \
- _IOR('p', 0x11, struct rtc_pll_info) /* Get PLL correction */
-#define RTC_PLL_SET \
- _IOW('p', 0x12, struct rtc_pll_info) /* Set PLL correction */
+#define RTC_PLL_GET _IOR('p', 0x11, struct rtc_pll_info) /* Get PLL correction */
+#define RTC_PLL_SET _IOW('p', 0x12, struct rtc_pll_info) /* Set PLL correction */
#define RTC_PARAM_GET _IOW('p', 0x13, struct rtc_param) /* Get parameter */
#define RTC_PARAM_SET _IOW('p', 0x14, struct rtc_param) /* Set parameter */
-#define RTC_VL_DATA_INVALID \
- _BITUL(0) /* Voltage too low, RTC data is invalid \
- */
-#define RTC_VL_BACKUP_LOW _BITUL(1) /* Backup voltage is low */
-#define RTC_VL_BACKUP_EMPTY _BITUL(2) /* Backup empty or not present */
-#define RTC_VL_ACCURACY_LOW \
- _BITUL(3) /* Voltage is low, RTC accuracy is reduced */
+#define RTC_VL_DATA_INVALID \
+ _BITUL(0) /* Voltage too low, RTC data is invalid \
+ */
+#define RTC_VL_BACKUP_LOW _BITUL(1) /* Backup voltage is low */
+#define RTC_VL_BACKUP_EMPTY _BITUL(2) /* Backup empty or not present */
+#define RTC_VL_ACCURACY_LOW _BITUL(3) /* Voltage is low, RTC accuracy is reduced */
#define RTC_VL_BACKUP_SWITCH _BITUL(4) /* Backup switchover happened */
#define RTC_VL_READ _IOR('p', 0x13, unsigned int) /* Voltage low detection */
-#define RTC_VL_CLR _IO('p', 0x14) /* Clear voltage low information */
+#define RTC_VL_CLR _IO('p', 0x14) /* Clear voltage low information */
/* interrupt flags */
#define RTC_IRQF 0x80 /* Any of the following is active */