diff options
author | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-12-08 10:15:51 -0800 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2012-01-05 08:19:30 -0800 |
commit | b1b561a228de9796eff8c7e03e1e7ee63ab13115 (patch) | |
tree | 52912746ebdd55f99068e047a801fddc9cd278a4 /lib/ts_kmp.c | |
parent | 3310600aa7bc11ead9b0324b972d13fb0e91bcaf (diff) | |
download | op-kernel-dev-b1b561a228de9796eff8c7e03e1e7ee63ab13115.zip op-kernel-dev-b1b561a228de9796eff8c7e03e1e7ee63ab13115.tar.gz |
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>
Diffstat (limited to 'lib/ts_kmp.c')
0 files changed, 0 insertions, 0 deletions