]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] hwmon: Use attribute arrays in f71805f
authorJean Delvare <khali@linux-fr.org>
Mon, 9 Jan 2006 22:29:11 +0000 (23:29 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 23 Mar 2006 22:21:49 +0000 (14:21 -0800)
commit0f3f13d495d6fa4c4b5bb2a652f395aa9bafbf3b
treead13b0f0e4934215a4378f63175dfc98e44e3061
parent0a1b25718eb2edf95b3e0f9eb84fd594b96d4ad1
[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