Re: [PATCH 2/4] iio: adc: xilinx: Remove dead code from xadc_zynq_setup

2018-07-21 Thread Jonathan Cameron
On Wed, 18 Jul 2018 16:42:09 +0530 Manish Narani wrote: > This patch removes dead code from xadc_zynq_setup. The condition > "if (tck_rate > XADC_ZYNQ_TCK_RATE_MAX)" cannot be true at any point of > time. There is also an incompatible parameter used in the code. > This patch fixes the same report

[PATCH 2/4] iio: adc: xilinx: Remove dead code from xadc_zynq_setup

2018-07-18 Thread Manish Narani
This patch removes dead code from xadc_zynq_setup. The condition "if (tck_rate > XADC_ZYNQ_TCK_RATE_MAX)" cannot be true at any point of time. There is also an incompatible parameter used in the code. This patch fixes the same reported by coverity. Signed-off-by: Manish Narani --- drivers/iio/ad