drivers/staging/crystalhd/: Fix a coding style issues
crystalhd_fw_if.h: indentation fix (spaces to tabs) The rest are brackets. NOTE: there are quite some 80 character warnings, but they look in place, comments mostly on the right next to the constants and stuff like that. I haven't touched them, since this rule is 'going away', but in case you would like it to be fixed, let me know. I'm sending 2 patches, but it they aren't connected in any way, so doesn't matter the apply order. It's just a cleanup. P.S sorry for the first lame patches a couple of days ago Signed-off-by: Arvydas Sidorenko <asido4@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
41344f6f36
commit
831e5bad5f
|
@ -205,12 +205,12 @@ enum _chd_log_levels {
|
|||
|
||||
#define BCMLOG_ENTER \
|
||||
if (g_linklog_level & BCMLOG_ENTER_LEAVE) { \
|
||||
printk("Entered %s\n", __func__); \
|
||||
printk(KERN_DEBUG "Entered %s\n", __func__); \
|
||||
}
|
||||
|
||||
#define BCMLOG_LEAVE \
|
||||
if (g_linklog_level & BCMLOG_ENTER_LEAVE) { \
|
||||
printk("Leaving %s\n", __func__); \
|
||||
printk(KERN_DEBUG "Leaving %s\n", __func__); \
|
||||
}
|
||||
|
||||
#define BCMLOG(trace, fmt, args...) \
|
||||
|
@ -221,7 +221,7 @@ if (g_linklog_level & trace) { \
|
|||
#define BCMLOG_ERR(fmt, args...) \
|
||||
do { \
|
||||
if (g_linklog_level & BCMLOG_ERROR) { \
|
||||
printk("*ERR*:%s:%d: "fmt, __FILE__, __LINE__, ##args); \
|
||||
printk(KERN_ERR "*ERR*:%s:%d: "fmt, __FILE__, __LINE__, ##args); \
|
||||
} \
|
||||
} while (0);
|
||||
|
||||
|
|
Loading…
Reference in New Issue