mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[PATCH] Driver Core: drivers/s390/net/qeth_sys.c - drivers/usb/gadget/pxa2xx_udc.c: update device attribute callbacks
Signed-off-by: Yani Ioannou <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
3fd3c0a5f5
commit
10523b3b82
17 changed files with 122 additions and 122 deletions
|
|
@ -15,7 +15,7 @@
|
|||
#include <linux/superhyway.h>
|
||||
|
||||
#define superhyway_ro_attr(name, fmt, field) \
|
||||
static ssize_t name##_show(struct device *dev, char *buf) \
|
||||
static ssize_t name##_show(struct device *dev, struct device_attribute *attr, char *buf) \
|
||||
{ \
|
||||
struct superhyway_device *s = to_superhyway_device(dev); \
|
||||
return sprintf(buf, fmt, s->field); \
|
||||
|
|
|
|||
Loading…
Reference in a new issue