* [PATCH] pinctrl: qcom: qcs404: Drop unused UFS_RESET macro
@ 2019-01-31 17:38 Bjorn Andersson
2019-02-08 12:09 ` Linus Walleij
0 siblings, 1 reply; 2+ messages in thread
From: Bjorn Andersson @ 2019-01-31 17:38 UTC (permalink / raw)
To: Bjorn Andersson, Linus Walleij
Cc: Andy Gross, David Brown, linux-arm-msm, linux-gpio, linux-kernel
The UFS_RESET macro serves no purpose on QCS404, remove it.
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
---
drivers/pinctrl/qcom/pinctrl-qcs404.c | 25 -------------------------
1 file changed, 25 deletions(-)
diff --git a/drivers/pinctrl/qcom/pinctrl-qcs404.c b/drivers/pinctrl/qcom/pinctrl-qcs404.c
index 4ffd56ff809e..1c6ba978c69f 100644
--- a/drivers/pinctrl/qcom/pinctrl-qcs404.c
+++ b/drivers/pinctrl/qcom/pinctrl-qcs404.c
@@ -95,31 +95,6 @@ enum {
.intr_detection_width = -1, \
}
-#define UFS_RESET(pg_name, offset) \
- { \
- .name = #pg_name, \
- .pins = pg_name##_pins, \
- .npins = (unsigned int)ARRAY_SIZE(pg_name##_pins), \
- .ctl_reg = offset, \
- .io_reg = offset + 0x4, \
- .intr_cfg_reg = 0, \
- .intr_status_reg = 0, \
- .intr_target_reg = 0, \
- .tile = NORTH, \
- .mux_bit = -1, \
- .pull_bit = 3, \
- .drv_bit = 0, \
- .oe_bit = -1, \
- .in_bit = -1, \
- .out_bit = 0, \
- .intr_enable_bit = -1, \
- .intr_status_bit = -1, \
- .intr_target_bit = -1, \
- .intr_raw_status_bit = -1, \
- .intr_polarity_bit = -1, \
- .intr_detection_bit = -1, \
- .intr_detection_width = -1, \
- }
static const struct pinctrl_pin_desc qcs404_pins[] = {
PINCTRL_PIN(0, "GPIO_0"),
PINCTRL_PIN(1, "GPIO_1"),
--
2.18.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] pinctrl: qcom: qcs404: Drop unused UFS_RESET macro
2019-01-31 17:38 [PATCH] pinctrl: qcom: qcs404: Drop unused UFS_RESET macro Bjorn Andersson
@ 2019-02-08 12:09 ` Linus Walleij
0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2019-02-08 12:09 UTC (permalink / raw)
To: Bjorn Andersson
Cc: Andy Gross, David Brown, linux-arm-msm, open list:GPIO SUBSYSTEM,
linux-kernel
On Thu, Jan 31, 2019 at 6:39 PM Bjorn Andersson
<bjorn.andersson@linaro.org> wrote:
> The UFS_RESET macro serves no purpose on QCS404, remove it.
>
> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Patch applied.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-02-08 12:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-31 17:38 [PATCH] pinctrl: qcom: qcs404: Drop unused UFS_RESET macro Bjorn Andersson
2019-02-08 12:09 ` Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).