]> asedeno.scripts.mit.edu Git - linux.git/commit
greybus: sysfs: generalize gb_module_attr() to capture more cases
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 13 Nov 2014 12:44:36 +0000 (18:14 +0530)
committerGreg Kroah-Hartman <greg@kroah.com>
Fri, 14 Nov 2014 21:17:55 +0000 (13:17 -0800)
commit132d03ea8989949ed40d52ea6bd4c5aaa083381b
tree25847ebeacbac1acb4b7d05d74c8e1f12a325b6f
parent37d8afc42b30e8883a30eb2dadb1ff4f94caa33b
greybus: sysfs: generalize gb_module_attr() to capture more cases

Most of the attribute routines are created with gb_module_attr() and few are
left out because they weren't printing 32 bit hexadecimal values.

Extend gb_module_attr() to cover more cases.

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