aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-2.6.35/950-sbb-sysfs-files.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2010-07-31 10:06:05 +0000
committerHauke Mehrtens <hauke@openwrt.org>2010-07-31 10:06:05 +0000
commit9f9c679032151f1e5ff26deb780a3b3173de1875 (patch)
tree82697159d17554c7a1eb662f5cce237ce25895b5 /target/linux/brcm47xx/patches-2.6.35/950-sbb-sysfs-files.patch
parent87eeb0b17969808ace8dba3bb242915808989166 (diff)
downloadupstream-9f9c679032151f1e5ff26deb780a3b3173de1875.tar.gz
upstream-9f9c679032151f1e5ff26deb780a3b3173de1875.tar.bz2
upstream-9f9c679032151f1e5ff26deb780a3b3173de1875.zip
brcm47xx: some checkpatch fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22425 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx/patches-2.6.35/950-sbb-sysfs-files.patch')
-rw-r--r--target/linux/brcm47xx/patches-2.6.35/950-sbb-sysfs-files.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/brcm47xx/patches-2.6.35/950-sbb-sysfs-files.patch b/target/linux/brcm47xx/patches-2.6.35/950-sbb-sysfs-files.patch
index ddb1f1b383..021c3c890b 100644
--- a/target/linux/brcm47xx/patches-2.6.35/950-sbb-sysfs-files.patch
+++ b/target/linux/brcm47xx/patches-2.6.35/950-sbb-sysfs-files.patch
@@ -8,7 +8,7 @@
+static ssize_t \
+attrib##_show(struct device *dev, struct device_attribute *attr, char *buf) \
+{ \
-+ return sprintf (buf, format_string, dev_to_ssb_dev(dev)->field); \
++ return sprintf(buf, format_string, dev_to_ssb_dev(dev)->field); \
+}
+
+ssb_config_attr(core_num, core_index, "%u\n")
@@ -19,7 +19,7 @@
+static ssize_t
+name_show(struct device *dev, struct device_attribute *attr, char *buf)
+{
-+ return sprintf (buf, "%s\n", ssb_core_name(dev_to_ssb_dev(dev)->id.coreid));
++ return sprintf(buf, "%s\n", ssb_core_name(dev_to_ssb_dev(dev)->id.coreid));
+}
+
+static struct device_attribute ssb_device_attrs[] = {