summaryrefslogtreecommitdiff
path: root/include/arch/x86_64/sound/scarlett2.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/sound/scarlett2.h
parent8834571b202cf4dc9c649cfb096c213b6ecf1566 (diff)
Clang-tidy fixes
Diffstat (limited to 'include/arch/x86_64/sound/scarlett2.h')
-rw-r--r--include/arch/x86_64/sound/scarlett2.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/arch/x86_64/sound/scarlett2.h b/include/arch/x86_64/sound/scarlett2.h
index c909190a..d3b94d46 100644
--- a/include/arch/x86_64/sound/scarlett2.h
+++ b/include/arch/x86_64/sound/scarlett2.h
@@ -16,9 +16,8 @@
#define SCARLETT2_HWDEP_MINOR 0
#define SCARLETT2_HWDEP_SUBMINOR 0
-#define SCARLETT2_HWDEP_VERSION \
- ((SCARLETT2_HWDEP_MAJOR << 16) | (SCARLETT2_HWDEP_MINOR << 8) | \
- SCARLETT2_HWDEP_SUBMINOR)
+#define SCARLETT2_HWDEP_VERSION \
+ ((SCARLETT2_HWDEP_MAJOR << 16) | (SCARLETT2_HWDEP_MINOR << 8) | SCARLETT2_HWDEP_SUBMINOR)
#define SCARLETT2_HWDEP_VERSION_MAJOR(v) (((v) >> 16) & 0xFF)
#define SCARLETT2_HWDEP_VERSION_MINOR(v) (((v) >> 8) & 0xFF)
@@ -47,7 +46,6 @@ struct scarlett2_flash_segment_erase_progress {
unsigned char progress;
unsigned char num_blocks;
};
-#define SCARLETT2_IOCTL_GET_ERASE_PROGRESS \
- _IOR('S', 0x64, struct scarlett2_flash_segment_erase_progress)
+#define SCARLETT2_IOCTL_GET_ERASE_PROGRESS _IOR('S', 0x64, struct scarlett2_flash_segment_erase_progress)
#endif /* __UAPI_SOUND_SCARLETT2_H */