ARM: mx5: dynamically allocate imx-keypad devices
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 1 Dec 2010 13:11:47 +0000 (11:11 -0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Wed, 12 Jan 2011 13:50:45 +0000 (14:50 +0100)
Add support for dynamical allocation of imx-keypad on mx5 platform.

After moving to dynamically registration of the keypad, the keypad clock
name needs to change accordingly.

The reason is that the original mx5 keypad platform_device id was 0,
now we use id=-1 as per arch/arm/plat-mxc/devices/platform-imx-keypad.c.

Tested keypad successfully on a MX51_3DS board.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>

No differences found