Re: [PATCH] mfd: qcom_rpm: Remove unused define

From: Lee Jones
Date: Wed Jun 15 2016 - 10:08:49 EST


On Mon, 13 Jun 2016, Linus Walleij wrote:

> This define RPM_SIGNAL probably pertains to the IPC signal which
> we ended up fetching from the device tree instead. the define is
> unused, remove it.
>
> Cc: Stephen Boyd <sboyd@xxxxxxxxxxxxxx>
> Cc: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>
> Cc: Andy Gross <andy.gross@xxxxxxxxxx>
> Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
> ---
> drivers/mfd/qcom_rpm.c | 2 --
> 1 file changed, 2 deletions(-)

Applied, thanks.

> diff --git a/drivers/mfd/qcom_rpm.c b/drivers/mfd/qcom_rpm.c
> index 1be47ad6441b..4f589cf75549 100644
> --- a/drivers/mfd/qcom_rpm.c
> +++ b/drivers/mfd/qcom_rpm.c
> @@ -70,8 +70,6 @@ struct qcom_rpm {
> #define RPM_NOTIFICATION BIT(30)
> #define RPM_REJECTED BIT(31)
>
> -#define RPM_SIGNAL BIT(2)
> -
> static const struct qcom_rpm_resource apq8064_rpm_resource_table[] = {
> [QCOM_RPM_CXO_CLK] = { 25, 9, 5, 1 },
> [QCOM_RPM_PXO_CLK] = { 26, 10, 6, 1 },

--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog