From 38c03e5561938e655fdcbbcf24dcd434e326fb09 Mon Sep 17 00:00:00 2001 From: Ajay Nandakumar Date: Fri, 10 Jan 2014 22:49:30 +0530 Subject: arm: tegra: fix warning to enable -Werror Fix various warnings to enable -Werror option. Bug 1211919 Change-Id: I913728fd3f2cbac0243b4e116c53cb035ed17f35 Signed-off-by: Ajay Nandakumar Reviewed-on: http://git-master/r/354292 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sachin Nikam --- arch/arm/mach-tegra/board-loki-power.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'arch/arm/mach-tegra/board-loki-power.c') diff --git a/arch/arm/mach-tegra/board-loki-power.c b/arch/arm/mach-tegra/board-loki-power.c index 46f7174e5b7b..eb758498d82a 100644 --- a/arch/arm/mach-tegra/board-loki-power.c +++ b/arch/arm/mach-tegra/board-loki-power.c @@ -364,13 +364,6 @@ static struct palmas_reg_init *loki_reg_init[PALMAS_NUM_REGS] = { NULL, }; -#define PALMAS_GPADC_IIO_MAP(_ch, _dev_name, _name) \ - { \ - .adc_channel_label = PALMAS_DATASHEET_NAME(_ch),\ - .consumer_dev_name = _dev_name, \ - .consumer_channel = _name, \ - } - static struct iio_map palmas_adc_iio_maps[] = { PALMAS_GPADC_IIO_MAP(IN1, "generic-adc-thermal.0", "thermistor"), PALMAS_GPADC_IIO_MAP(IN3, "generic-adc-thermal.1", "tdiode"), -- cgit v1.2.3