]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: OMAP2+: PRM: remove unnecessary cpu_is_XXX calls from prm_init / exit
authorTero Kristo <t-kristo@ti.com>
Mon, 12 May 2014 01:54:58 +0000 (19:54 -0600)
committerPaul Walmsley <paul@pwsan.com>
Fri, 16 May 2014 04:34:51 +0000 (22:34 -0600)
commitd8871cd245ece932ced994457e044d0f68b0aab4
tree13388f9dc727f869a9778f5225609177182ebaf1
parent4794208c5b0122e51e3e13830bb707466b638c4c
ARM: OMAP2+: PRM: remove unnecessary cpu_is_XXX calls from prm_init / exit

Done in preparation to make PRM its own driver, as the cpu_is_XXX calls are
not available outside mach-omap2 folder.

The init functions are called only from cpu specific init chain, and thus
don't need to double check against cpu type.

The exit calls check against the data provided during init-time registration
and thus don't need cpu check either.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
[paul@pwsan.com: updated to apply]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/prm2xxx.c
arch/arm/mach-omap2/prm3xxx.c
arch/arm/mach-omap2/prm44xx.c