From: lee.jones@linaro.org (Lee Jones)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] mfd: db8500-prcmu: Remove unused function
Date: Mon, 19 Jan 2015 09:55:20 +0000 [thread overview]
Message-ID: <20150119095520.GN21886@x1> (raw)
In-Reply-To: <1420134593-690-1-git-send-email-rickard_strandqvist@spectrumdigital.se>
On Thu, 01 Jan 2015, Rickard Strandqvist wrote:
> 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>
> ---
> drivers/mfd/db8500-prcmu.c | 9 ---------
> 1 file changed, 9 deletions(-)
Applied, thanks.
> diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c
> index 193cf16..b517501 100644
> --- a/drivers/mfd/db8500-prcmu.c
> +++ b/drivers/mfd/db8500-prcmu.c
> @@ -675,15 +675,6 @@ bool prcmu_has_arm_maxopp(void)
> }
>
> /**
> - * 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
> * Returns: 0 on success, -EINVAL on invalid argument
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
WARNING: multiple messages have this Message-ID (diff)
From: Lee Jones <lee.jones@linaro.org>
To: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Cc: Linus Walleij <linus.walleij@linaro.org>,
Samuel Ortiz <sameo@linux.intel.com>,
Grant Likely <grant.likely@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH] mfd: db8500-prcmu: Remove unused function
Date: Mon, 19 Jan 2015 09:55:20 +0000 [thread overview]
Message-ID: <20150119095520.GN21886@x1> (raw)
In-Reply-To: <1420134593-690-1-git-send-email-rickard_strandqvist@spectrumdigital.se>
On Thu, 01 Jan 2015, Rickard Strandqvist wrote:
> 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>
> ---
> drivers/mfd/db8500-prcmu.c | 9 ---------
> 1 file changed, 9 deletions(-)
Applied, thanks.
> diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c
> index 193cf16..b517501 100644
> --- a/drivers/mfd/db8500-prcmu.c
> +++ b/drivers/mfd/db8500-prcmu.c
> @@ -675,15 +675,6 @@ bool prcmu_has_arm_maxopp(void)
> }
>
> /**
> - * 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
> * Returns: 0 on success, -EINVAL on invalid argument
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
next prev parent reply other threads:[~2015-01-19 9:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-01 17:49 [PATCH] mfd: db8500-prcmu: Remove unused function Rickard Strandqvist
2015-01-01 17:49 ` Rickard Strandqvist
2015-01-02 9:30 ` Arnd Bergmann
2015-01-02 9:30 ` Arnd Bergmann
2015-01-02 9:30 ` Arnd Bergmann
2015-01-14 11:41 ` Linus Walleij
2015-01-14 11:41 ` Linus Walleij
2015-01-14 11:41 ` Linus Walleij
2015-01-19 9:55 ` Lee Jones [this message]
2015-01-19 9:55 ` Lee Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150119095520.GN21886@x1 \
--to=lee.jones@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.