aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTang Bin <[email protected]>2021-05-11 21:47:39 +0800
committerJonathan Cameron <[email protected]>2021-05-17 14:10:24 +0100
commitbd1455615f402c63458492875dce4d848cbb2210 (patch)
tree08926866b5ddd2be97ebcdbb2e5b8cafce159a1f /tools/perf/scripts/python
parent43fa739450492a0b870802d471de923184870a4c (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 <[email protected]> Signed-off-by: Zhang Shengju <[email protected]> Co-developed-by: Zhang Shengju <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions