Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

pinctrl: intel: Drop no more used members of struct intel_pingroup

There are no more used members in the struct intel_pingroup, drop them.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>

-9
-9
drivers/pinctrl/intel/pinctrl-intel.h
··· 24 24 25 25 /** 26 26 * struct intel_pingroup - Description about group of pins 27 - * @name: Name of the groups 28 - * @pins: All pins in this group 29 - * @npins: Number of pins in this groups 30 27 * @grp: Generic data of the pin group (name and pins) 31 28 * @mode: Native mode in which the group is muxed out @pins. Used if @modes is %NULL. 32 29 * @modes: If not %NULL this will hold mode for each pin in @pins 33 30 */ 34 31 struct intel_pingroup { 35 - const char *name; 36 - const unsigned int *pins; 37 - size_t npins; 38 32 struct pingroup grp; 39 33 unsigned short mode; 40 34 const unsigned int *modes; ··· 153 159 */ 154 160 #define PIN_GROUP(n, p, m) \ 155 161 { \ 156 - .name = (n), \ 157 - .pins = (p), \ 158 - .npins = ARRAY_SIZE((p)), \ 159 162 .grp = PINCTRL_PINGROUP((n), (p), ARRAY_SIZE((p))), \ 160 163 .mode = __builtin_choose_expr(__builtin_constant_p((m)), (m), 0), \ 161 164 .modes = __builtin_choose_expr(__builtin_constant_p((m)), NULL, (m)), \