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:
9f59263
)
greybus: interface: remove device_id attribute
author
Johan Hovold
<johan@hovoldconsulting.com>
Wed, 25 Nov 2015 14:58:57 +0000
(15:58 +0100)
committer
Greg Kroah-Hartman
<gregkh@google.com>
Wed, 25 Nov 2015 23:27:06 +0000
(15:27 -0800)
The interface device_id attribute is an implementation detail that does
not need to be exported to user space.
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/interface.c
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/interface.c
b/drivers/staging/greybus/interface.c
index 9f4cf4d35a73ea0de6edda2fcf6a11cd1e75c181..4ed782e6c7b0cc5cbdacfdf77fe096c7efc87e5b 100644
(file)
--- a/
drivers/staging/greybus/interface.c
+++ b/
drivers/staging/greybus/interface.c
@@
-20,14
+20,12
@@
static ssize_t field##_show(struct device *dev, \
} \
static DEVICE_ATTR_RO(field)
-gb_interface_attr(device_id, d);
gb_interface_attr(vendor_id, x);
gb_interface_attr(product_id, x);
gb_interface_attr(vendor_string, s);
gb_interface_attr(product_string, s);
static struct attribute *interface_attrs[] = {
- &dev_attr_device_id.attr,
&dev_attr_vendor_id.attr,
&dev_attr_product_id.attr,
&dev_attr_vendor_string.attr,