mfd: db8500-prcmu: Remove unused function
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Thu, 1 Jan 2015 17:49:53 +0000 (18:49 +0100)
committerLee Jones <lee.jones@linaro.org>
Thu, 22 Jan 2015 15:55:51 +0000 (15:55 +0000)
Remove the function prcmu_get_boot_status() that is not used anywhere.

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

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/db8500-prcmu.c

index 16162bf43656a093320c0dac7c49a8b2dc199ec2..cc1a404328c294d6ed119801e3dbf613c832c0ba 100644 (file)
@@ -674,15 +674,6 @@ bool prcmu_has_arm_maxopp(void)
                PRCM_AVS_ISMODEENABLE_MASK) == PRCM_AVS_ISMODEENABLE_MASK;
 }
 
-/**
- * prcmu_get_boot_status - PRCMU boot status checking
- * Returns: the current PRCMU boot status
- */
-int prcmu_get_boot_status(void)
-{
-       return readb(tcdm_base + PRCM_BOOT_STATUS);
-}
-
 /**
  * prcmu_set_rc_a2p - This function is used to run few power state sequences
  * @val: Value to be set, i.e. transition requested
This page took 0.025532 seconds and 5 git commands to generate.