Tag: bf3a35ac8038d6f3104c4b9fd8a6970c6b42b56f

mmc: host: sdhci: Use BUG_ON()

Author: Fabio Estevam <fabio.estevam@freescale.com> 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 Signed-off-by: Ulf Hansson — drivers/mmc/host/sdhci.c | 6 ++—- 1 file changed, 2 insertions(+), 4 deletions(-)   diff –git …

Continue reading