commit | fd7f82b8a37ff4d400c2db9c9fa8f9467dc54a08 | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Thu Oct 28 20:31:48 2010 +0200 |
committer | Jean Delvare <khali@endymion.delvare> | Thu Oct 28 20:31:48 2010 +0200 |
tree | 41eff04a59f8b78d5d3950911e60851277043ab7 | |
parent | 5f7b77cbd4599b6a90d18981d9883a3e20e689fb [diff] |
hwmon: (w83795) Make W83795_REG_PWM more efficient Cascaded conditionals are inefficient. Reorder the fields so that PWM register addresses can be computed more efficiently. Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>