]> 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>
Wed, 22 Aug 2012 15:29:50 +0000 (08:29 -0700)
commitab6d10f81b050df1291ccf85cf90ef58b67a7114
tree4f2b765f88bf686383efe438bbacba03083c4a3e
parent01d8d1acf12965ea44f23ad4b889c8a8d4eded26
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