]> 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, 18 Aug 2012 23:34:58 +0000 (16:34 -0700)
commit6c0ca6724087c2f1df0163aa377e13ccd32e198a
tree8616fba951e57dd13e51d1bca995cfbfa1f3f705
parenta8b959c919ecbd728857a9dab57b25c41d1662f3
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