diff options
| author | Lucas Magasweran <lucas.magasweran@ieee.org> | 2018-05-08 14:43:33 +0300 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2018-05-21 17:51:59 +0300 |
| commit | 59df4f4e8e0b9a0abb14ad5128d36d844c3e2689 (patch) | |
| tree | b58746d6b637b1a1100dbe5e15006317dfb54bf1 /scripts/gdb/linux/utils.py | |
| parent | 2b2acdc889325bc1fa5700c5c68ac540ecf3b6ae (diff) | |
| download | linux-59df4f4e8e0b9a0abb14ad5128d36d844c3e2689.tar.xz | |
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>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
