ARM: OMAP1: use BUG_ON where possible omap-for-v3.8/board-v2-signed
authorSasha Levin <sasha.levin@oracle.com>
Thu, 8 Nov 2012 20:23:09 +0000 (15:23 -0500)
committerTony Lindgren <tony@atomide.com>
Mon, 12 Nov 2012 23:20:44 +0000 (15:20 -0800)
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/)

// <smpl>
@@
expression e;
@@
- if (e) BUG();
+ BUG_ON(e);
// </smpl>

Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

No differences found