arm/imx/gpio: remove a BUG_ON in hot path
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 8 Feb 2010 20:07:16 +0000 (21:07 +0100)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 24 Feb 2010 09:06:58 +0000 (10:06 +0100)
commit6574305b0ed32f286dcebd653a2f3ba4e421f06c
tree9e8f3ce3b34885de2fd45d884b72a5daa3d49cff
parent3621f188b945a9f9bc1387115834041b7a4619e0
arm/imx/gpio: remove a BUG_ON in hot path

Now if the problem occurs that triggered the BUG_ON before, the machine
runs in a NULL pointer dereference.  So it wouldn't be much harder now
to debug the situation if it occured.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
arch/arm/plat-mxc/gpio.c