Home
last modified time | relevance | path

Searched hist:"59 df4f4e8e0b9a0abb14ad5128d36d844c3e2689" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/hwmon/
H A Dhwmon.cdiff 59df4f4e8e0b9a0abb14ad5128d36d844c3e2689 Tue May 08 13:43:33 CEST 2018 Lucas Magasweran <lucas.magasweran@ieee.org> hwmon: (core) check parent dev != NULL when chip != NULL

hwmon_device_register_with_info() registration API requires a
non-NULL parent device when chip is non-NULL.

This commit adds a check and documents this requirement.

Signed-off-by: Lucas Magasweran <lucas.magasweran@ieee.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>