diff options
| author | 2021-05-11 21:47:39 +0800 | |
|---|---|---|
| committer | 2021-05-17 14:10:24 +0100 | |
| commit | bd1455615f402c63458492875dce4d848cbb2210 (patch) | |
| tree | 08926866b5ddd2be97ebcdbb2e5b8cafce159a1f /scripts/objdiff | |
| parent | iio: core: Fix an error pointer vs NULL bug in devm_iio_device_alloc() (diff) | |
iio:adc:ad7766: Fix unnecessary check in ad7766_probe()
In the function ad7766_probe(), the return value of
devm_iio_device_register() can be zero or ret, Thus it
is unnecessary to repeated check here.
Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Co-developed-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Link: https://lore.kernel.org/r/20210511134739.948-1-tangbin@cmss.chinamobile.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
