Commit 0f8dced5 authored by Kurt Van Dijck's avatar Kurt Van Dijck Committed by Marc Kleine-Budde

can: softing: remove unused sysfs attributes

'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: default avatarKurt Van Dijck <kurt.van.dijck@eia.be>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent ec2e11ed
...@@ -713,8 +713,6 @@ DEV_ATTR_RO(firmware_version, id.fw_version); ...@@ -713,8 +713,6 @@ DEV_ATTR_RO(firmware_version, id.fw_version);
DEV_ATTR_RO_STR(hardware, pdat->name); DEV_ATTR_RO_STR(hardware, pdat->name);
DEV_ATTR_RO(hardware_version, id.hw_version); DEV_ATTR_RO(hardware_version, id.hw_version);
DEV_ATTR_RO(license, id.license); DEV_ATTR_RO(license, id.license);
DEV_ATTR_RO(frequency, id.freq);
DEV_ATTR_RO(txpending, tx.pending);
static struct attribute *softing_pdev_attrs[] = { static struct attribute *softing_pdev_attrs[] = {
&dev_attr_serial.attr, &dev_attr_serial.attr,
...@@ -723,8 +721,6 @@ static struct attribute *softing_pdev_attrs[] = { ...@@ -723,8 +721,6 @@ static struct attribute *softing_pdev_attrs[] = {
&dev_attr_hardware.attr, &dev_attr_hardware.attr,
&dev_attr_hardware_version.attr, &dev_attr_hardware_version.attr,
&dev_attr_license.attr, &dev_attr_license.attr,
&dev_attr_frequency.attr,
&dev_attr_txpending.attr,
NULL, NULL,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment