From: Guenter Roeck Date: Sat, 30 Mar 2013 16:09:39 +0000 (-0700) Subject: hwmon: (gpio-fan) Use is_visible to determine if attributes should be created X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~140^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c81cc5a4c14d8d7cc5c891ddf6cb8e7750a44dee;p=pandora-kernel.git hwmon: (gpio-fan) Use is_visible to determine if attributes should be created Simplify code and reduce object size by more than 300 bytes (x86_64). Cc: Jamie Lentin Cc: Simon Guinot Tested-by: Simon Guinot Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed