]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] hwmon: tag super-i/o find functions __init
authorJean Delvare <khali@linux-fr.org>
Wed, 27 Jul 2005 19:32:02 +0000 (21:32 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Sep 2005 16:14:15 +0000 (09:14 -0700)
commite6cfb3ad7209e4f4dcdc14f5fc437db55667041f
tree13f6390bd5a31db45012ff93d9b93968256a7ab7
parent7bef559455fc71f66f8573cc1aafe1dd33966c1c
[PATCH] hwmon: tag super-i/o find functions __init

Super-I/O find functions in hardware monitoring drivers can be tagged
__init as they are only called from functions themselves tagged __init.
Two of them (smsc47b397 and w83627ehf) already do, but the other four
of them (it87, pc87360, smsc47m1 and w83627hf) did not.

This saves a few bytes of memory after the drivers are loaded, 192 in
the case of the it87 driver.

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