]> err.no Git - linux-2.6/commit
hwmon: (thmc50) Fix a debug message
authorJean Delvare <khali@linux-fr.org>
Tue, 18 Sep 2007 16:48:16 +0000 (18:48 +0200)
committerMark M. Hoffman <mhoffman@lightlink.com>
Wed, 10 Oct 2007 02:56:31 +0000 (22:56 -0400)
commitcc28a610d4fcce1831d26f2099e23fbb3eb7260c
tree0a0e57e5f3be7011a81feb8f5691e6c1e0c84905
parent894c00cf3805670faddd41d3d5dcb3c0ab75a39d
hwmon: (thmc50) Fix a debug message

type_name was used before being set. See why I don't like play-it-safe
variable initializations: they prevent the compiler from warning you
about such mistakes. So fix that as well.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
drivers/hwmon/thmc50.c