ARM: OMAP: Remove duplicated operand in OR operation
authorJavier Martinez Canillas <javier@osg.samsung.com>
Tue, 20 Oct 2015 07:29:40 +0000 (01:29 -0600)
committerPaul Walmsley <paul@pwsan.com>
Tue, 20 Oct 2015 07:29:40 +0000 (01:29 -0600)
commit10b294b3dcb83d8a4efed1386ea20e851d16db41
tree61a8cc07ec0798cfbe4bc498ce077ddae006d312
parent049e6dde7e57f0054fdc49102e7ef4830c698b46
ARM: OMAP: Remove duplicated operand in OR operation

Commit b483a4a5a711 ("ARM: OMAP4+: hwmod data: Don't prevent RESET of
USB Host module") added the SYSC_HAS_RESET_STATUS flag to both OMAP4
and OMAP5 USB host module hwmon sysconfig but that flag was already
set for OMAP5. So now the flag appears twice in the expression.

make coccicheck complains with the following message:

omap_hwmod_54xx_data.c:1846:37-58: duplicated argument to & or |

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Acked-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod_54xx_data.c