]> git.baikalelectronics.ru Git - kernel.git/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)
commitd96a9fe56b1b676019d2195253ffd949f66611c7
tree0a0e57e5f3be7011a81feb8f5691e6c1e0c84905
parentdd2dca43a308743fcd800ff2c33457f9c3742aaa
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