projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec2e11e
)
can: softing: remove unused sysfs attributes
author
Kurt Van Dijck
<
[email protected]
>
Wed, 2 Apr 2014 19:17:48 +0000
(21:17 +0200)
committer
Marc Kleine-Budde
<
[email protected]
>
Thu, 24 Apr 2014 22:09:03 +0000
(
00:09
+0200)
'frequency' indicates the embedded cpu's frequency, but that
should not be necessary for any purpose.
'txpending' is an attribute for debugging.
Signed-off-by: Kurt Van Dijck <
[email protected]
>
Signed-off-by: Marc Kleine-Budde <
[email protected]
>
drivers/net/can/softing/softing_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/can/softing/softing_main.c
b/drivers/net/can/softing/softing_main.c
index 532330bfb30fc9e618177cd6192206f275227c20..bacd236ce3064d357271ff67e3ccacbfedddd953 100644
(file)
--- a/
drivers/net/can/softing/softing_main.c
+++ b/
drivers/net/can/softing/softing_main.c
@@
-713,8
+713,6
@@
DEV_ATTR_RO(firmware_version, id.fw_version);
DEV_ATTR_RO_STR(hardware, pdat->name);
DEV_ATTR_RO(hardware_version, id.hw_version);
DEV_ATTR_RO(license, id.license);
-DEV_ATTR_RO(frequency, id.freq);
-DEV_ATTR_RO(txpending, tx.pending);
static struct attribute *softing_pdev_attrs[] = {
&dev_attr_serial.attr,
@@
-723,8
+721,6
@@
static struct attribute *softing_pdev_attrs[] = {
&dev_attr_hardware.attr,
&dev_attr_hardware_version.attr,
&dev_attr_license.attr,
- &dev_attr_frequency.attr,
- &dev_attr_txpending.attr,
NULL,
};