]> Pileus Git - ~andy/linux/commit
ARM: OMAP1: use BUG_ON where possible
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)
commit0449410b0b8aeafa9b7e8bb719e4eeda8a5623fd
tree84867c61bd5e0f2185ee6a9e2b7e46c1e78d78b1
parent63d5fc0c2f748e20f38a0a0ec1c8494bddf5c288
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/)

// <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>
arch/arm/mach-omap1/board-fsample.c
arch/arm/mach-omap1/board-h2.c
arch/arm/mach-omap1/board-h3.c
arch/arm/mach-omap1/board-perseus2.c