From a984eb367c032dbe2577f01238c3d1268526be70 Mon Sep 17 00:00:00 2001 From: Kacper Date: Thu, 25 Dec 2025 19:24:38 +0100 Subject: Clang-tidy fixes --- include/arch/x86_64/sound/scarlett2.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'include/arch/x86_64/sound/scarlett2.h') 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 */ -- cgit v1.2.3