Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 90414248 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

[media] siano: fix checkpatch.pl compliants on smscoreapi.h



Fix the remaining checkpatch.pl compliants at smscoreapi.h,
except by the "line over 80 characters" on comments. Fixing those
would require more time, as the better is to convert them into the
struct descriptions used inside the kernel, as described at:
	Documentation/kernel-doc-nano-HOWTO.txt

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent cf0e9cfc
Loading
Loading
Loading
Loading
+9 −5
Original line number Diff line number Diff line
@@ -577,8 +577,11 @@ enum msg_types {
};

#define SMS_INIT_MSG_EX(ptr, type, src, dst, len) do { \
	(ptr)->msg_type = type; (ptr)->msg_src_id = src; (ptr)->msg_dst_id = dst; \
	(ptr)->msg_length = len; (ptr)->msg_flags = 0; \
	(ptr)->msg_type = type; \
	(ptr)->msg_src_id = src; \
	(ptr)->msg_dst_id = dst; \
	(ptr)->msg_length = len; \
	(ptr)->msg_flags = 0; \
} while (0)

#define SMS_INIT_MSG(ptr, type, len) \
@@ -1177,7 +1180,8 @@ int smscore_led_state(struct smscore_device_t *core, int led);

#define dprintk(kern, lvl, fmt, arg...) do {\
	if (sms_dbg & lvl) \
		sms_printk(kern, fmt, ##arg); } while (0)
		sms_printk(kern, fmt, ##arg); \
} while (0)

#define sms_log(fmt, arg...) sms_printk(KERN_INFO, fmt, ##arg)
#define sms_err(fmt, arg...) \