commit | b1b561a228de9796eff8c7e03e1e7ee63ab13115 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <guenter.roeck@ericsson.com> | Thu Dec 08 10:15:51 2011 -0800 |
committer | Guenter Roeck <guenter.roeck@ericsson.com> | Thu Jan 05 08:19:30 2012 -0800 |
tree | 52912746ebdd55f99068e047a801fddc9cd278a4 | |
parent | 3310600aa7bc11ead9b0324b972d13fb0e91bcaf [diff] |
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 <riku.voipio@iki.fi> Reviewed-by: Bjoern Gerhart <oss@extracloud.de> Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>