[PATCH 02/15] pinctrl: sunxi: Drop unused structure members

Maxime Ripard maxime.ripard at free-electrons.com
Mon Apr 28 12:01:28 PDT 2014


The ranges and nranges were never used. Remove them.

Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
---
 drivers/pinctrl/pinctrl-sunxi.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/pinctrl/pinctrl-sunxi.h b/drivers/pinctrl/pinctrl-sunxi.h
index 90040accb11c..4e24b9b5f12e 100644
--- a/drivers/pinctrl/pinctrl-sunxi.h
+++ b/drivers/pinctrl/pinctrl-sunxi.h
@@ -448,8 +448,6 @@ struct sunxi_desc_pin {
 struct sunxi_pinctrl_desc {
 	const struct sunxi_desc_pin	*pins;
 	int				npins;
-	struct pinctrl_gpio_range	*ranges;
-	int				nranges;
 	unsigned			pin_base;
 };
 
-- 
1.9.1




More information about the linux-arm-kernel mailing list