diff options
author | 2022-04-04 14:42:44 +0300 | |
---|---|---|
committer | 2022-04-10 17:57:40 +0100 | |
commit | de3b9fe9609a05d3c354c6718ca657962d11d9fe (patch) | |
tree | 5261e2709e6d78ac2413af607a5b3e175f0eb4c2 /tools/perf/scripts/python/syscall-counts.py | |
parent | iio: sx9324: Fix default precharge internal resistance register (diff) | |
download | linux-dev-de3b9fe9609a05d3c354c6718ca657962d11d9fe.tar.xz linux-dev-de3b9fe9609a05d3c354c6718ca657962d11d9fe.zip |
iio:dac:ad3552r: Fix an IS_ERR() vs NULL check
The fwnode_get_named_child_node() function does not return error
pointers. It returns NULL. Update the check accordingly.
Fixes: 8f2b54824b28 ("drivers:iio:dac: Add AD3552R driver support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20220404114244.GA19201@kili
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions