+3
−1
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
We should only dereference "data" after we check if it is an error pointer. Fixes: 54187ff9 ('hwmon: (max31790) Convert to use new hwmon registration API') Signed-off-by:Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by:
Guenter Roeck <linux@roeck-us.net>