[PATCH RFC v2 7/7] pinctrl-scmi: remove unused struct member

Dan Carpenter
2025-07-20T19:55:57Z

The ->nr_pins is not used so delete that.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
---
drivers/pinctrl/pinctrl-scmi.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/pinctrl/pinctrl-scmi.c b/drivers/pinctrl/pinctrl-scmi.c
index 9a947ced0df7..372fa67589fb 100644
--- a/drivers/pinctrl/pinctrl-scmi.c
+++ b/drivers/pinctrl/pinctrl-scmi.c
@@ -45,7 +45,6 @@ struct scmi_pinctrl {
struct pinfunction *functions;
unsigned int nr_functions;
struct pinctrl_pin_desc *pins;
- unsigned int nr_pins;
struct gpio_chip *gc;
};

--
2.47.2