mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
7d45deb31b
Not every chip supported by this driver supports setting the number of samples for power averaging. Also, the power monitoring register is not always a 16-bit register, and the configuration bits used for voltage sampling are different depending on the register width. Some conditional code is needed to fix the problem. On top of all that, the compiler complains about problems with FIELD_GET and FIELD_PREP macros if the file is built with W=1. Avoid using those macros to silence the warning. Cc: Krzysztof Adamski <krzysztof.adamski@nokia.com> Cc: Alexander Sverdlin <alexander.sverdlin@nokia.com> Reviewed-by: Krzysztof Adamski <krzysztof.adamski@nokia.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> |
||
---|---|---|
.. | ||
adm1275.c | ||
ibm-cffps.c | ||
ir35221.c | ||
ir38064.c | ||
irps5401.c | ||
isl68137.c | ||
Kconfig | ||
lm25066.c | ||
ltc2978.c | ||
ltc3815.c | ||
Makefile | ||
max8688.c | ||
max16064.c | ||
max20751.c | ||
max31785.c | ||
max34440.c | ||
pmbus.c | ||
pmbus.h | ||
pmbus_core.c | ||
pxe1610.c | ||
tps40422.c | ||
tps53679.c | ||
ucd9000.c | ||
ucd9200.c | ||
zl6100.c |