From: Sasha Levin Date: Thu, 8 Nov 2012 20:23:09 +0000 (-0500) Subject: ARM: OMAP1: use BUG_ON where possible X-Git-Tag: omap-for-v3.8/board-v2-signed^0 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0449410b0b8aeafa9b7e8bb719e4eeda8a5623fd;p=pandora-kernel.git ARM: OMAP1: use BUG_ON where possible Just use BUG_ON() instead of constructions such as: if (...) BUG() A simplified version of the semantic patch that makes this transformation is as follows: (http://coccinelle.lip6.fr/) // @@ expression e; @@ - if (e) BUG(); + BUG_ON(e); // Signed-off-by: Sasha Levin Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed