BUG_ON conversion for drivers/mmc/omap.c
authorEric Sesterhenn <snakebyte@gmx.de>
Thu, 30 Nov 2006 04:27:38 +0000 (05:27 +0100)
committerAdrian Bunk <bunk@stusta.de>
Thu, 30 Nov 2006 04:27:38 +0000 (05:27 +0100)
commitd99c5909859625f3c9c6dfee6caa3b2a7c0ef163
tree0e30f9e43a14e92eef05331b31358a6daf624835
parent5d9a276a3eb073251737cb92b790bfdb9f0b9139
BUG_ON conversion for drivers/mmc/omap.c

This patch converts a if () BUG(); construct to BUG_ON();
which occupies less space, uses unlikely and is safer when
BUG() is disabled.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
drivers/mmc/omap.c