ARM: OMAP: Fix lis3lv02d accelerometer to use gpio_to_irq
authorTony Lindgren <tony@atomide.com>
Mon, 4 Jun 2012 07:13:25 +0000 (00:13 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 4 Jun 2012 09:41:54 +0000 (02:41 -0700)
commit4d04317f6efab7359ae56e50cc9c60e9804b5015
tree545723f5910540b4bf930eabbc911d5232b5f01e
parentded884c2d7f627f4f5456bbeb9d174decc3e7261
ARM: OMAP: Fix lis3lv02d accelerometer to use gpio_to_irq

Commit 3b511201 (ARM: OMAP: rx51: Platform support for lis3lv02d accelerometer)
added support for lis3lv02d accelerometer.

The patch was still using OMAP_GPIO_IRQ which no longer exists.

Fix it by using gpio_to_irq().

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-rx51-peripherals.c