summaryrefslogtreecommitdiffstats
path: root/Documentation/hwmon/ltc2978
diff options
context:
space:
mode:
authorGuenter Roeck2013-02-28 17:14:45 +0100
committerGuenter Roeck2013-04-08 06:16:41 +0200
commit3d0d2839937778bd19bf505b38093d829a1cdf69 (patch)
tree74a5cf09ef4bf10aeded03fa8ed183f69919b1fb /Documentation/hwmon/ltc2978
parenthwmon: (ltc4261) Fix 'Macros with complex values' checkpatch error (diff)
downloadkernel-qcow2-linux-3d0d2839937778bd19bf505b38093d829a1cdf69.tar.gz
kernel-qcow2-linux-3d0d2839937778bd19bf505b38093d829a1cdf69.tar.xz
kernel-qcow2-linux-3d0d2839937778bd19bf505b38093d829a1cdf69.zip
hwmon: (pmbus/ltc2978) Code cleanup
Use u16 instead of int to store cached limit attributes. This reduces allocated data size per driver instance by 48 bytes. Use defines for the number of pages supported by individual chips. Use ARRAY_SIZE for loops to initialize array variables, and initialize all variables in the same code block. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon/ltc2978')
0 files changed, 0 insertions, 0 deletions