From: Benjamin Romer Date: Fri, 25 Jul 2014 17:55:10 +0000 (-0400) Subject: staging: unisys: fix visorchipset sysfs attribute functions X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~284 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66e24b76865c431361feba2972f5e3e1cff6bf75;p=pandora-kernel.git staging: unisys: fix visorchipset sysfs attribute functions This patch cleans up the style, error handling, and string handling in the sysfs functions recently added to visorchipset: - Use of sscanf() was changed to type-appropriate kstrto*() functions - error handling was simplified - the error return value of visorchannel_write() was corrected - switch use of driver-specific types to kernel types Signed-off-by: Benjamin Romer Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed