]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2+: omap_hwmod.c: Remove some unused functions
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Sun, 7 Dec 2014 17:24:07 +0000 (18:24 +0100)
committerTony Lindgren <tony@atomide.com>
Wed, 7 Jan 2015 17:53:51 +0000 (09:53 -0800)
commit4eb52ba043863869a7cda1fbdf6d5548218a69b3
treecc0fb74a14b5f5c1333f934f46f921328a203a8f
parente49ef3ef537365f6770e2c6b34836717990ddd11
ARM: OMAP2+: omap_hwmod.c: Remove some unused functions

Removes some functions that are not used anywhere:
omap_hwmod_pad_route_irq() omap_hwmod_no_setup_reset()
omap_hwmod_read_hardreset() omap_hwmod_del_initiator_dep()
omap_hwmod_enable_clocks() omap_hwmod_reset() omap_hwmod_ocp_barrier()
omap_hwmod_disable_clocks() omap_hwmod_add_initiator_dep()

This was partially found by using a static code analysis program called cppcheck.

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/omap_hwmod.c
arch/arm/mach-omap2/omap_hwmod.h