mmc: host: sdhci: Use BUG_ON()
authorFabio Estevam <fabio.estevam@freescale.com>
Sat, 9 May 2015 21:44:51 +0000 (18:44 -0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 1 Jun 2015 07:07:02 +0000 (09:07 +0200)
commitbf3a35ac8038d6f3104c4b9fd8a6970c6b42b56f
tree4279bff0f7d11d0c03458bb87f02dfce28ddf01c
parent6d91641613a66681d0b291e6f848107d289f70e8
mmc: host: sdhci: Use BUG_ON()

Use BUG_ON() instead of an 'if' condition followed by BUG().

The semantic patch that makes this change is available
in scripts/coccinelle/misc/bugon.cocci.

More information about semantic patching is available at
http://coccinelle.lip6.fr/

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c