]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (sch56xx-common) Fix build warnings
authorGuenter Roeck <linux@roeck-us.net>
Sat, 4 Aug 2012 16:54:16 +0000 (09:54 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sat, 15 Sep 2012 14:57:15 +0000 (07:57 -0700)
commit5c26f99db5bb3583e7d8b63285ff4275c867aeef
tree871f94ab08bfd3c2471467636d2f2c1d86135337
parent46579187260b35931f952ab3be22468711234609
hwmon: (sch56xx-common) Fix build warnings

Fix:
warning: 'address' may be used uninitialized in this function
warning: 'name' may be used uninitialized in this function

While those are false warnings, the patch reduces module size on x86_64 by
approximately 110 bytes, so it is still worth the effort.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Hans de Goede <hdegoede@redhat.com>
drivers/hwmon/sch56xx-common.c