]> git.sur5r.net Git - groeck-nct6775/commit
Fix reported use of unassigned variable
authorGuenter Roeck <linux@roeck-us.net>
Sun, 14 Apr 2013 15:11:30 +0000 (08:11 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 14 Apr 2013 15:11:30 +0000 (08:11 -0700)
commit9b02810326ad715ecc42ad142e1ba4325573d2f4
tree679064e3deb4cacd67a535550970f599fa4f93d4
parentc09c5b128ea84b049e3824ecf517df8074c379dc
Fix reported use of unassigned variable

In some conditions, the compiler reports the use of address as returned
from nct6775_find to be unassigned. Fix by returning it as return value
together with the error.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
nct6775.c