[PATCH v2] arch: arm: mach-omap2: voltage: Remove some unused functions

2015-01-02 Thread Rickard Strandqvist
. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- arch/arm/mach-omap2/powerdomain.c |1 - arch/arm/mach-omap2/voltage.c | 110 - arch/arm/mach-omap2/voltage.h | 13 - 3 files changed, 124 deletions(-) diff --git a/arch

[PATCH] video: fbdev: omap2: dss: dispc.c: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
analysis program called cppcheck. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/video/fbdev/omap2/dss/dispc.c | 124 - drivers/video/fbdev/omap2/dss/dss.h | 12 2 files changed, 136 deletions(-) diff --git a/drivers

[PATCH] arch: arm: mach-omap2: voltage.c: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: voltdm_for_each_pwrdm() omap_change_voltscale_method() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- arch/arm/mach-omap2

[PATCH] video: fbdev: omap2: dss: dss.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function dss_get_hdmi_venc_clk_source() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/video/fbdev/omap2/dss/dss.c | 14

[PATCH] arch: arm: plat-omap: dma.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function get_gdma_dev() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- arch/arm/plat-omap/dma.c |8 1 file changed, 8 deletions

[PATCH] video: fbdev: omap2: dss: rfbi.c: Remove some unused functions

2014-12-21 Thread Rickard Strandqvist
() rfbi_write_data() rfbi_read_data() rfbi_write_command() rfbi_bus_unlock() rfbi_bus_lock() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/video/fbdev/omap2/dss/rfbi.c | 297

[PATCH] arch: arm: mach-omap1: irq.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
Remove the function irq_bank_readl() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- arch/arm/mach-omap1/irq.c |5 - 1 file changed, 5 deletions

[PATCH] arch: arm: mach-omap1: timer32k.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
Remove the function omap_32k_timer_read() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- arch/arm/mach-omap1/timer32k.c |5 - 1 file changed, 5

[PATCH] arch: arm: mach-omap2: powerdomain.c: Remove some unused functions

2014-12-07 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: pwrdm_get_voltdm() pwrdm_for_each_clkdm() pwrdm_del_clkdm() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- arch/arm/mach-omap2

[PATCH] arch: arm: mach-omap2: omap_hwmod.c: Remove some unused functions

2014-12-07 Thread Rickard Strandqvist
() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- arch/arm/mach-omap2/omap_hwmod.c | 232 -- arch/arm/mach-omap2/omap_hwmod.h | 16 --- 2 files

[PATCH] arch: arm: mach-omap2: omap-pm-noop.c: Remove some unused functions

2014-12-07 Thread Rickard Strandqvist
() omap_pm_set_max_sdma_lat() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- arch/arm/mach-omap2/omap-pm-noop.c | 196 arch/arm/mach-omap2/omap-pm.h | 192

[PATCH] arch: arm: mach-omap2: clkt2xxx_apll.c: Remove some unused functions

2014-12-07 Thread Rickard Strandqvist
program called cppcheck. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- arch/arm/mach-omap2/clkt2xxx_apll.c | 52 --- arch/arm/mach-omap2/clock2xxx.h |9 -- 2 files changed, 61 deletions(-) diff --git a/arch/arm/mach-omap2

[PATCH] arch: arm: mach-omap2: cm33xx.c: Remove some unused functions

2014-12-07 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: am33xx_cm_read_reg_bits() am33xx_cm_clear_reg_bits() am33xx_cm_set_reg_bits() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- arch

[PATCH] arch: arm: mach-omap2: dpll44xx.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
Remove the function omap4_dpllmx_gatectrl_read() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- arch/arm/mach-omap2/clock.h|1 - arch/arm/mach

[PATCH] arch: arm: mach-omap2: usb-tusb6010.c: Cleaning up variable is set more than once

2014-06-25 Thread Rickard Strandqvist
A struct member variable is set to the same value more than once This was found using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- arch/arm/mach-omap2/usb-tusb6010.c |1 - 1 file changed, 1 deletion(-) diff