]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] hwmon: hwmon vs i2c, second round (10/11)
authorJean Delvare <khali@linux-fr.org>
Mon, 1 Aug 2005 20:50:08 +0000 (22:50 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Sep 2005 16:14:23 +0000 (09:14 -0700)
commitd0f282706df877f8fd8869419e308d24eedb523b
treea0305b5bcb691fa7bc7005b56b4dc45263fb3cbb
parentee70d3a33368038d41985474d9e70ac07f19651c
[PATCH] hwmon: hwmon vs i2c, second round (10/11)

I see very little reason why vid_from_reg is inlined. It is not
exactly short, its parameters are seldom known in advance, and it is
never called in speed critical areas. Uninlining it should cause
little performance loss if any, and saves a signficant space as well
as compilation time.

As suggested by Alexey Dobriyan, I am leaving vid_to_reg inline for now,
as it is short and has a single user so far.

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