diff mbox

[2/3] Input: tps6507x-ts - remove vref from platform data

Message ID CAGa+x87xEO7AeDyQCp+T+Pkhne1SDWqqUuHQyqLVaYmBCYnP1w@mail.gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Kevin Hilman July 2, 2013, 3:49 p.m. UTC
On Sun, Jun 9, 2013 at 10:53 PM, Dmitry Torokhov
<dmitry.torokhov@gmail.com> wrote:
> Although defined in platform data, vref is not used anywhere.
>
> Also remove model, irq, and clear_penirq as they are not used either.
>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

Actually, it's used in arch/arm/mach-davinci/board-da850-evm.c.

The following should be folded into this patch.  Found by build
failure in linux-next building da8xx_omapl_defconfig for ARM.

Kevin

  .version = 0x100, /* /sys/class/input/input?/id/version */
diff mbox

Patch

diff --git a/arch/arm/mach-davinci/board-da850-evm.c
b/arch/arm/mach-davinci/board-da850-evm.c
index 8a24b6c..bea6793 100644
--- a/arch/arm/mach-davinci/board-da850-evm.c
+++ b/arch/arm/mach-davinci/board-da850-evm.c
@@ -985,7 +985,6 @@  static struct regulator_init_data
tps65070_regulator_data[] = {
 static struct touchscreen_init_data tps6507x_touchscreen_data = {
  .poll_period =  30, /* ms between touch samples */
  .min_pressure = 0x30, /* minimum pressure to trigger touch */
- .vref = 0, /* turn off vref when not using A/D */
  .vendor = 0, /* /sys/class/input/input?/id/vendor */
  .product = 65070, /* /sys/class/input/input?/id/product */