diff mbox

mfd: qcom_rpm: Remove unused define

Message ID 1465778061-3174-1-git-send-email-linus.walleij@linaro.org
State Accepted
Commit b9847899b3a8bd8002233e0e392909d731309c1b
Headers show

Commit Message

Linus Walleij June 13, 2016, 12:34 a.m. UTC
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@codeaurora.org>
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Andy Gross <andy.gross@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

---
 drivers/mfd/qcom_rpm.c | 2 --
 1 file changed, 2 deletions(-)

-- 
2.4.11

Comments

Lee Jones June 15, 2016, 2:09 p.m. UTC | #1
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@codeaurora.org>

> Cc: Bjorn Andersson <bjorn.andersson@linaro.org>

> Cc: Andy Gross <andy.gross@linaro.org>

> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

> ---

>  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
diff mbox

Patch

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 },