Bluetooth: Fix errors reported by checkpatch.pl
authorGustavo F. Padovan <padovan@profusion.mobi>
Thu, 17 Feb 2011 22:22:19 +0000 (19:22 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 17 Feb 2011 22:22:19 +0000 (19:22 -0300)
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/hci_sysfs.c

index 23471dd9ee2f8fea43e348882c3fe35da59bcc14..3c838a65a75a279eb1c776a650ef74b5d6ef0671 100644 (file)
@@ -11,7 +11,7 @@
 
 static struct class *bt_class;
 
-struct dentry *bt_debugfs = NULL;
+struct dentry *bt_debugfs;
 EXPORT_SYMBOL_GPL(bt_debugfs);
 
 static inline char *link_typetostr(int type)
@@ -51,8 +51,8 @@ static ssize_t show_link_features(struct device *dev, struct device_attribute *a
                                conn->features[6], conn->features[7]);
 }
 
-#define LINK_ATTR(_name,_mode,_show,_store) \
-struct device_attribute link_attr_##_name = __ATTR(_name,_mode,_show,_store)
+#define LINK_ATTR(_name, _mode, _show, _store) \
+struct device_attribute link_attr_##_name = __ATTR(_name, _mode, _show, _store)
 
 static LINK_ATTR(type, S_IRUGO, show_link_type, NULL);
 static LINK_ATTR(address, S_IRUGO, show_link_address, NULL);