|
@@ -629,7 +629,7 @@ static struct dentry *rt2x00debug_create_file_chipset(const char *name,
|
|
|
data += sprintf(data, "register\tbase\twords\twordsize\n");
|
|
|
#define RT2X00DEBUGFS_SPRINTF_REGISTER(__name) \
|
|
|
{ \
|
|
|
- if(debug->__name.read) \
|
|
|
+ if (debug->__name.read) \
|
|
|
data += sprintf(data, __stringify(__name) \
|
|
|
"\t%d\t%d\t%d\n", \
|
|
|
debug->__name.word_base, \
|
|
@@ -699,7 +699,7 @@ void rt2x00debug_register(struct rt2x00_dev *rt2x00dev)
|
|
|
|
|
|
#define RT2X00DEBUGFS_CREATE_REGISTER_ENTRY(__intf, __name) \
|
|
|
({ \
|
|
|
- if(debug->__name.read) { \
|
|
|
+ if (debug->__name.read) { \
|
|
|
(__intf)->__name##_off_entry = \
|
|
|
debugfs_create_u32(__stringify(__name) "_offset", \
|
|
|
S_IRUSR | S_IWUSR, \
|