aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorLucas Magasweran <[email protected]>2018-05-08 04:43:33 -0700
committerGuenter Roeck <[email protected]>2018-05-21 07:51:59 -0700
commit59df4f4e8e0b9a0abb14ad5128d36d844c3e2689 (patch)
treeb58746d6b637b1a1100dbe5e15006317dfb54bf1 /lib/netdev-notifier-error-inject.c
parent2b2acdc889325bc1fa5700c5c68ac540ecf3b6ae (diff)
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 <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions