From: Guenter Roeck Date: Thu, 8 Dec 2011 18:15:51 +0000 (-0800) Subject: hwmon: (f75375s) Initialize pwmX_mode and pwmX_enable if there is no platform data X-Git-Tag: v3.3-rc1~162^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1b561a228de9796eff8c7e03e1e7ee63ab13115;p=pandora-kernel.git hwmon: (f75375s) Initialize pwmX_mode and pwmX_enable if there is no platform data pwmX_mode and pwmX_enable are not initialized if no platform data is provided to the driver. Read chip configuration at driver initialization time and initialize attributes to reflect chip configuration. Cc: Riku Voipio Reviewed-by: Bjoern Gerhart Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed