mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 09:14:18 -04:00
staging: greybus: Added space between string concatenated
Some concatenated strings are now spaced. Signed-off-by: Cristian Sicilia <sicilia.cristian@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b5630e3019
commit
0668d5b592
1 changed files with 3 additions and 3 deletions
|
|
@ -141,7 +141,7 @@ static ssize_t name##_##field##_show(struct device *dev, \
|
|||
/* Report 0 for min and max if no transfer successed */ \
|
||||
if (!gb->requests_completed) \
|
||||
return sprintf(buf, "0\n"); \
|
||||
return sprintf(buf, "%"#type"\n", gb->name.field); \
|
||||
return sprintf(buf, "%" #type "\n", gb->name.field); \
|
||||
} \
|
||||
static DEVICE_ATTR_RO(name##_##field)
|
||||
|
||||
|
|
@ -176,7 +176,7 @@ static ssize_t field##_show(struct device *dev, \
|
|||
char *buf) \
|
||||
{ \
|
||||
struct gb_loopback *gb = dev_get_drvdata(dev); \
|
||||
return sprintf(buf, "%"#type"\n", gb->field); \
|
||||
return sprintf(buf, "%" #type "\n", gb->field); \
|
||||
} \
|
||||
static ssize_t field##_store(struct device *dev, \
|
||||
struct device_attribute *attr, \
|
||||
|
|
@ -212,7 +212,7 @@ static ssize_t field##_show(struct device *dev, \
|
|||
char *buf) \
|
||||
{ \
|
||||
struct gb_loopback *gb = dev_get_drvdata(dev); \
|
||||
return sprintf(buf, "%"#type"\n", gb->field); \
|
||||
return sprintf(buf, "%" #type "\n", gb->field); \
|
||||
} \
|
||||
static ssize_t field##_store(struct device *dev, \
|
||||
struct device_attribute *attr, \
|
||||
|
|
|
|||
Loading…
Reference in a new issue