diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/pinctrl/pinctrl.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/pinctrl/pinctrl.h b/include/linux/pinctrl/pinctrl.h index 9809a94f151b..8bd22ee7aa09 100644 --- a/include/linux/pinctrl/pinctrl.h +++ b/include/linux/pinctrl/pinctrl.h | |||
| @@ -92,10 +92,6 @@ struct pinctrl_ops { | |||
| 92 | * this pin controller | 92 | * this pin controller |
| 93 | * @npins: number of descriptors in the array, usually just ARRAY_SIZE() | 93 | * @npins: number of descriptors in the array, usually just ARRAY_SIZE() |
| 94 | * of the pins field above | 94 | * of the pins field above |
| 95 | * @maxpin: since pin spaces may be sparse, there can he "holes" in the | ||
| 96 | * pin range, this attribute gives the maximum pin number in the | ||
| 97 | * total range. This should not be lower than npins for example, | ||
| 98 | * but may be equal to npins if you have no holes in the pin range. | ||
| 99 | * @pctlops: pin control operation vtable, to support global concepts like | 95 | * @pctlops: pin control operation vtable, to support global concepts like |
| 100 | * grouping of pins, this is optional. | 96 | * grouping of pins, this is optional. |
| 101 | * @pmxops: pinmux operations vtable, if you support pinmuxing in your driver | 97 | * @pmxops: pinmux operations vtable, if you support pinmuxing in your driver |
| @@ -107,7 +103,6 @@ struct pinctrl_desc { | |||
| 107 | const char *name; | 103 | const char *name; |
| 108 | struct pinctrl_pin_desc const *pins; | 104 | struct pinctrl_pin_desc const *pins; |
| 109 | unsigned int npins; | 105 | unsigned int npins; |
| 110 | unsigned int maxpin; | ||
| 111 | struct pinctrl_ops *pctlops; | 106 | struct pinctrl_ops *pctlops; |
| 112 | struct pinmux_ops *pmxops; | 107 | struct pinmux_ops *pmxops; |
| 113 | struct pinconf_ops *confops; | 108 | struct pinconf_ops *confops; |
