diff options
author | Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> | 2015-01-01 12:49:53 -0500 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-01-22 10:55:51 -0500 |
commit | 1ae68f95de1e18751ff2830c361c173e8ae677d8 (patch) | |
tree | 4dfd5e9fb141125770f4b8a862fecc681db3c71b | |
parent | 6f262ecfdcda004804d1f444285b99c7e92ddbd9 (diff) |
mfd: db8500-prcmu: Remove unused function
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>
-rw-r--r-- | drivers/mfd/db8500-prcmu.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c index 16162bf43656..cc1a404328c2 100644 --- a/drivers/mfd/db8500-prcmu.c +++ b/drivers/mfd/db8500-prcmu.c | |||
@@ -675,15 +675,6 @@ bool prcmu_has_arm_maxopp(void) | |||
675 | } | 675 | } |
676 | 676 | ||
677 | /** | 677 | /** |
678 | * prcmu_get_boot_status - PRCMU boot status checking | ||
679 | * Returns: the current PRCMU boot status | ||
680 | */ | ||
681 | int prcmu_get_boot_status(void) | ||
682 | { | ||
683 | return readb(tcdm_base + PRCM_BOOT_STATUS); | ||
684 | } | ||
685 | |||
686 | /** | ||
687 | * prcmu_set_rc_a2p - This function is used to run few power state sequences | 678 | * prcmu_set_rc_a2p - This function is used to run few power state sequences |
688 | * @val: Value to be set, i.e. transition requested | 679 | * @val: Value to be set, i.e. transition requested |
689 | * Returns: 0 on success, -EINVAL on invalid argument | 680 | * Returns: 0 on success, -EINVAL on invalid argument |