Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hwmon: (max31790) potential ERR_PTR dereference
We should only dereference "data" after we check if it is an error pointer. Fixes: 54187ff ('hwmon: (max31790) Convert to use new hwmon registration API') Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
- Loading branch information