diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-06-20 14:28:47 +0300 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-06-20 14:38:30 +0300 |
commit | 487b87717b8538a9f2d13853fe6971735ceb795d (patch) | |
tree | 15d9293cce636a219fd33ea3862eccbc0d9da529 /drivers/pinctrl/intel | |
parent | 4426be364f3777db2e445676737614fbb937c140 (diff) |
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>
Diffstat (limited to 'drivers/pinctrl/intel')
-rw-r--r-- | drivers/pinctrl/intel/pinctrl-intel.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/pinctrl/intel/pinctrl-intel.h b/drivers/pinctrl/intel/pinctrl-intel.h index 69ff0598263c..65628423bf63 100644 --- a/drivers/pinctrl/intel/pinctrl-intel.h +++ b/drivers/pinctrl/intel/pinctrl-intel.h @@ -24,17 +24,11 @@ struct device; /** * struct intel_pingroup - Description about group of pins - * @name: Name of the groups - * @pins: All pins in this group - * @npins: Number of pins in this groups * @grp: Generic data of the pin group (name and pins) * @mode: Native mode in which the group is muxed out @pins. Used if @modes is %NULL. * @modes: If not %NULL this will hold mode for each pin in @pins */ struct intel_pingroup { - const char *name; - const unsigned int *pins; - size_t npins; struct pingroup grp; unsigned short mode; const unsigned int *modes; @@ -159,9 +153,6 @@ struct intel_community { */ #define PIN_GROUP(n, p, m) \ { \ - .name = (n), \ - .pins = (p), \ - .npins = ARRAY_SIZE((p)), \ .grp = PINCTRL_PINGROUP((n), (p), ARRAY_SIZE((p))), \ .mode = __builtin_choose_expr(__builtin_constant_p((m)), (m), 0), \ .modes = __builtin_choose_expr(__builtin_constant_p((m)), NULL, (m)), \ |