[PATCH] hwmon: Use attribute arrays in f71805f
commit2488a39d233a758d41ab7de70a220bc956f3c96c
authorJean Delvare <khali@linux-fr.org>
Mon, 9 Jan 2006 22:29:11 +0000 (9 23:29 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 23 Mar 2006 22:21:49 +0000 (23 14:21 -0800)
treead13b0f0e4934215a4378f63175dfc98e44e3061
parentdedc6a7803d9c9795b504ffd8530a4ba7b3fd9ed
[PATCH] hwmon: Use attribute arrays in f71805f

Convert the f71805f driver to use arrays of attributes. This shrinks the
compiled module from 12.0 kB to 9.6 kB. We certainly should do the same
for as many hardware monitoring drivers as possible.

This, together with a nice chip design by Fintek, makes this driver
very small, both in terms of number of lines of code and memory
consumption.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hwmon/f71805f.c