aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/max34440.c
diff options
context:
space:
mode:
authorGuenter Roeck <guenter.roeck@ericsson.com>2011-03-11 18:09:33 -0800
committerGuenter Roeck <guenter.roeck@ericsson.com>2011-05-19 08:19:37 -0700
commitb4ce237b7f7d31abe9c5b0c443a64573ace4933d (patch)
tree6ae60cea8d12d642303cfa60789130223d74cbd4 /drivers/hwmon/max34440.c
parentf5bae2642e3df716d2bb7bcffdf51e7a286e885e (diff)
downloadkernel_samsung_smdk4412-b4ce237b7f7d31abe9c5b0c443a64573ace4933d.zip
kernel_samsung_smdk4412-b4ce237b7f7d31abe9c5b0c443a64573ace4933d.tar.gz
kernel_samsung_smdk4412-b4ce237b7f7d31abe9c5b0c443a64573ace4933d.tar.bz2
hwmon: (pmbus) Introduce infrastructure to detect sensors and limit registers
This commit replaces hard-coded sensor and limit register detection code with table based sensor detection. This change eliminates code block repetition and reduces code size. Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com> Reviewed-by: Tom Grennan <tom.grennan@ericsson.com>
Diffstat (limited to 'drivers/hwmon/max34440.c')
0 files changed, 0 insertions, 0 deletions