]> 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>
Sun, 9 Sep 2012 16:27:41 +0000 (09:27 -0700)
commitf042f7325155a9cfe05881758ff65d3fd7d275e8
treec3c9530f68d6b9d2a4c3584137f329e77b33d68c
parent22afbc34005e24e23312494ce852b4cd39d1b546
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