]> 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, 12 Sep 2012 13:42:55 +0000 (06:42 -0700)
commit1cf9d7c358a51630f820f81599d68e2fc3a16c94
tree2a0739538e65022dd20a36e73a158829a24b20b5
parent91c8b365f273fd5953fd254610d82ee99d626437
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