diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-05-31 17:11:18 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-07-13 19:11:43 +0300 |
commit | 568f6869e680c7492c5e38df9094af86fe9d6364 (patch) | |
tree | 410e73256d946c988c33704e7e429f7e86ec7359 /drivers/iio/dac | |
parent | 59b2947ed4c32da50e7390fce6e200669900f503 (diff) | |
download | linux-568f6869e680c7492c5e38df9094af86fe9d6364.tar.xz |
iio: adc: xilinx-xadc: Drop duplicate NULL check in xadc_parse_dt()
The fwnode_for_each_child_node() is NULL-aware, no need to check
its parameters outside. Drop duplicate NULL check in xadc_parse_dt().
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220531141118.64540-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/dac')
0 files changed, 0 insertions, 0 deletions