[PATCH 3/5] OMAPDSS: DISPC: Fix assignment of 0/1 to bool variables

2013-09-22 Thread Peter Senna Tschudin
-off-by: Peter Senna Tschudin peter.se...@gmail.com --- drivers/video/omap2/dss/dispc.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff -u -p a/drivers/video/omap2/dss/dispc.c b/drivers/video/omap2/dss/dispc.c --- a/drivers/video/omap2/dss/dispc.c +++ b/drivers/video/omap2/dss

[PATCH] arch/arm/mach-omap2: Remove unecessary semicolon

2012-09-18 Thread Peter Senna Tschudin
Found by http://coccinelle.lip6.fr/ Signed-off-by: Peter Senna Tschudin peter.se...@gmail.com --- arch/arm/mach-omap2/board-flash.c | 2 +- arch/arm/mach-omap2/clkt_clksel.c | 2 +- arch/arm/mach-omap2/mux.c | 2 +- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c

[PATCH] arch/arm/plat-omap/omap-pm-noop.c: Remove unecessary semicolon

2012-09-18 Thread Peter Senna Tschudin
Found by http://coccinelle.lip6.fr/ Signed-off-by: Peter Senna Tschudin peter.se...@gmail.com --- arch/arm/plat-omap/omap-pm-noop.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/plat-omap/omap-pm-noop.c b/arch/arm/plat-omap/omap-pm-noop.c index 5a97b4d

[PATCH] arch/arm/mach-omap1/devices.c: Remove unecessary semicolon

2012-09-18 Thread Peter Senna Tschudin
Found by http://coccinelle.lip6.fr/ Signed-off-by: Peter Senna Tschudin peter.se...@gmail.com --- arch/arm/mach-omap1/devices.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap1/devices.c b/arch/arm/mach-omap1/devices.c index fa1fa4d..688b23a 100644

[PATCH 2/4] drivers/mmc/host/omap.c: fix error return code

2012-09-17 Thread Peter Senna Tschudin
From: Peter Senna Tschudin peter.se...@gmail.com Convert a nonnegative error return code to a negative one, as returned elsewhere in the function. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl ( if@p1 (\(ret 0\|ret != 0

[PATCH 3/4] drivers/mmc/host/omap_hsmmc.c: fix error return code

2012-09-17 Thread Peter Senna Tschudin
From: Peter Senna Tschudin peter.se...@gmail.com Convert a nonnegative error return code to a negative one, as returned elsewhere in the function. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl ( if@p1 (\(ret 0\|ret != 0