diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-12-19 14:42:40 +0200 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-12-30 10:22:53 +0200 |
commit | afa349bbb5d75e072e641234f1cb5d2264bd6ed0 (patch) | |
tree | c149d873518bc1080ad524a9ec524fe2f00b8b03 /drivers/pinctrl | |
parent | 3b954b31e027ae2a46cae8482de87679bedd22b8 (diff) | |
download | linux-stable-afa349bbb5d75e072e641234f1cb5d2264bd6ed0.tar.gz linux-stable-afa349bbb5d75e072e641234f1cb5d2264bd6ed0.tar.bz2 linux-stable-afa349bbb5d75e072e641234f1cb5d2264bd6ed0.zip |
pinctrl: intel: Get rid of unused members in struct intel_function
The driver has been converted to a generic data type and macro for
the pin function definition, hence get rid of not used members in
the struct intel_function.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/pinctrl')
-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 91e5bedba00b..1faf2ada480a 100644 --- a/drivers/pinctrl/intel/pinctrl-intel.h +++ b/drivers/pinctrl/intel/pinctrl-intel.h @@ -37,15 +37,9 @@ struct intel_pingroup { /** * struct intel_function - Description about a function * @func: Generic data of the pin function (name and groups of pins) - * @name: Name of the function - * @groups: An array of groups for this function - * @ngroups: Number of groups in @groups */ struct intel_function { struct pinfunction func; - const char *name; - const char * const *groups; - size_t ngroups; }; #define INTEL_PINCTRL_MAX_GPP_SIZE 32 @@ -188,9 +182,6 @@ struct intel_community { #define FUNCTION(n, g) \ { \ .func = PINCTRL_PINFUNCTION((n), (g), ARRAY_SIZE(g)), \ - .name = (n), \ - .groups = (g), \ - .ngroups = ARRAY_SIZE((g)), \ } /** |