Lucas Magasweran 59df4f4e8e 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>
2018-05-21 07:51:59 -07:00
..
2014-03-03 08:01:04 -08:00
2014-01-29 20:40:08 +01:00
2014-01-29 20:40:08 +01:00
2014-01-29 20:40:08 +01:00
2017-06-11 17:08:19 -07:00
2012-12-05 10:55:55 -08:00
2014-01-29 20:40:08 +01:00
2014-01-29 20:40:08 +01:00
2014-01-29 20:40:08 +01:00
2016-04-19 06:32:38 -07:00
2014-01-29 20:40:08 +01:00
2015-10-14 07:57:14 -07:00
2014-01-29 20:40:08 +01:00
2014-01-29 20:40:08 +01:00
2014-01-29 20:40:08 +01:00
2014-01-29 20:40:08 +01:00
2018-03-22 09:33:24 -07:00
2016-03-05 06:25:34 -08:00
2014-01-29 20:40:08 +01:00
2015-10-14 07:57:14 -07:00
2014-05-21 16:02:27 -07:00
2014-01-29 20:40:08 +01:00
2014-01-29 20:40:08 +01:00
2014-01-29 20:40:08 +01:00
2014-08-04 07:01:38 -07:00
2018-03-10 19:00:14 -08:00
2017-10-29 18:36:03 -07:00
2018-03-10 19:00:14 -08:00
2014-01-29 20:40:08 +01:00
2015-06-21 22:54:53 -07:00
2014-01-29 20:40:08 +01:00
2014-01-29 20:40:08 +01:00
2018-01-02 15:05:34 -08:00
2013-09-06 14:05:42 +02:00
2014-01-29 20:40:08 +01:00
2016-09-08 21:34:16 -07:00