Skip to content
Commit f8ef475a authored by Lv Ruyi's avatar Lv Ruyi Committed by Jonathan Cameron
Browse files

iio: adc: xilinx-ams: fix return error variable

Return irq instead of ret which always equals to zero here.

Fixes: d5c70627

 ("iio: adc: Add Xilinx AMS driver")
Reported-by: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarLv Ruyi <lv.ruyi@zte.com.cn>
Reviewed-by: default avatarMichal Simek <michal.simek@amd.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent bb52d369
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment