From: Guenter Roeck Date: Mon, 18 Mar 2013 13:40:16 +0000 (-0700) Subject: hwmon: (max6697) Use is_visible and sysfs_create_group X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~140^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bf44cedab5918bee8e8fea8c7ad187996c8c874;p=pandora-kernel.git hwmon: (max6697) Use is_visible and sysfs_create_group Simplify the code and reduce its size by using is_visible to determine valid attributes, and sysfs_create_group to create all of them with a single call. Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed