hwmon: (f75375s) Initialize pwmX_mode and pwmX_enable if there is no platform data
authorGuenter Roeck <guenter.roeck@ericsson.com>
Thu, 8 Dec 2011 18:15:51 +0000 (10:15 -0800)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Thu, 5 Jan 2012 16:19:30 +0000 (08:19 -0800)
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 <riku.voipio@iki.fi>
Reviewed-by: Bjoern Gerhart <oss@extracloud.de>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>

No differences found