greybus: endo: Add missing '\n' sprintf() for sysfs files
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 1 Jun 2015 12:13:36 +0000 (17:43 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 4 Jun 2015 05:02:38 +0000 (14:02 +0900)
commit3cb494cd6c5d3ca1c381553f5379ca9577f8e871
tree2054869abc0c843778f2177e842ffbd425169a44
parent7ba864a19f97f06b0a685b083449b7278b635823
greybus: endo: Add missing '\n' sprintf() for sysfs files

Because of the missing '\n', this is how the output of reading endo
sysfs files looks:

root# cat /sys/bus/greybus/devices/endo/id
0x4755root#

Fix it by including \n to the end of the printed string.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/endo.c