commit | c344a327baefc372b7f4b7d0c17ac8b417ceaf94 | [log] [tgz] |
---|---|---|
author | Manish Narani <manish.narani@xilinx.com> | Wed Jul 18 16:42:09 2018 +0530 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Mon Jul 23 19:18:11 2018 +0100 |
tree | d3d125d449e35f9c34c2b987bb329638e2a09d95 | |
parent | 39e27533cdb4affdec79a89308ab9133a6e0e5c7 [diff] |
iio: adc: xilinx: Remove dead code from xadc_zynq_setup 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 <manish.narani@xilinx.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>