diff options
| author | Guenter Roeck <[email protected]> | 2012-05-12 11:21:01 -0700 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2012-09-23 21:08:34 -0700 |
| commit | 6106db25c27550337a1d701631093cdfc645aa7b (patch) | |
| tree | 22797d324f513dd903c702801d70248be24159cf /include/linux/timerqueue.h | |
| parent | 9224c38a312a339f1c9c2115a1f379c9f8f1731e (diff) | |
hwmon: (ina2xx) Use structure array to distinguish chip types
Replace per-device initialization and per-device calculation code with
per-device configuration data, which is then used to configure the chip and
perform calculations based on that data.
This patch reduces code size by more than 400 bytes on x86_64.
Cc: Lothar Felten <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Acked-by: Jean Delvare <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions