From: Don Zickus Date: Wed, 13 May 2015 17:22:17 +0000 (-0400) Subject: staging: unisys: Clean up device sysfs attributes X-Git-Tag: omap-for-v4.3/legacy-v2-signed~121^2~600 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=795731627c;p=pandora-kernel.git staging: unisys: Clean up device sysfs attributes Properly hook into the struct device groups element. This allows the core infrastructure to manage the files instead of the bus layer. And makes the code easier to read. I didn't clean up the _show functions just modified them a bit to handle the different args for now and to prevent a build warning. Signed-off-by: Don Zickus Signed-off-by: Benjamin Romer Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed