CID: 197183 - Constant variable guards dead code.
Change-Id: Ibdead8ca606d8473257889e5a6bebcda2865885f
Signed-off-by: Choi Jaehyoung <jkkkkk.choi@samsung.com>
struct device_node *np = pdev->dev.of_node;
struct iio_dev *indio_dev = NULL;
struct resource *mem;
- bool has_ts = false;
int ret = -ENODEV;
int irq;
unsigned int sysreg;
err_of_populate:
device_for_each_child(&indio_dev->dev, NULL,
exynos_adc_remove_devices);
- if (has_ts) {
- input_unregister_device(info->input);
- free_irq(info->tsirq, info);
- }
+
#ifdef ADC_TS
err_iio:
iio_device_unregister(indio_dev);