mfd: cs42l43: Use __u8 type rather than u8 for firmware interface
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Mon, 29 Jan 2024 15:25:54 +0000 (15:25 +0000)
committerLee Jones <lee@kernel.org>
Fri, 23 Feb 2024 14:58:01 +0000 (14:58 +0000)
__xxx is the preferred type for firmware interfaces.

Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20240129152557.3221212-3-ckeepax@opensource.cirrus.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/cs42l43.c

index 4e2bc5ad244a56455ed3dcd7c7b03ceb741c09c3..65a331481d975d9c7838d9260860928be9a48cf2 100644 (file)
@@ -55,8 +55,8 @@
 struct cs42l43_patch_header {
        __le16 version;
        __le16 size;
-       u8 reserved;
-       u8 secure;
+       __u8 reserved;
+       __u8 secure;
        __le16 bss_size;
        __le32 apply_addr;
        __le32 checksum;