From 1183d1e7ec5d8f84446516fa03dabaabfb78130d Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Sat, 4 Apr 2020 19:11:17 +0200 Subject: includes: gen.h: switch to Linux code style MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This contains no functional changes. The commented out code if any has also been preserved as it could be relevant to the understanding of the code. It will be kept until we understand why the code has been commented. In that case we either need to remove it completely or to replace it by a comment explaining why not having that code was necessary. Signed-off-by: Denis 'GNUtoo' Carikli Reviewed-by: Joonas Kylmälä --- include/gen.h | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/include/gen.h b/include/gen.h index 8013df6..0dc9ff6 100644 --- a/include/gen.h +++ b/include/gen.h @@ -27,23 +27,23 @@ * Commands */ -#define IPC_GEN_PHONE_RES 0x8001 +#define IPC_GEN_PHONE_RES 0x8001 /* * Values */ -#define IPC_GEN_PHONE_RES_CODE_SUCCESS 0x8000 +#define IPC_GEN_PHONE_RES_CODE_SUCCESS 0x8000 /* * Structures */ struct ipc_gen_phone_res_data { - unsigned char group; - unsigned char index; - unsigned char type; - unsigned short code; + unsigned char group; + unsigned char index; + unsigned char type; + unsigned short code; } __attribute__((__packed__)); /* @@ -52,6 +52,4 @@ struct ipc_gen_phone_res_data { int ipc_gen_phone_res_check(const struct ipc_gen_phone_res_data *data); -#endif - -// vim:ts=4:sw=4:expandtab +#endif /* __SAMSUNG_IPC_GEN_H__ */ -- cgit v1.2.3