Skip to content

Commit afa349b

Browse files
committed
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 <[email protected]> Acked-by: Mika Westerberg <[email protected]>
1 parent 3b954b3 commit afa349b

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

drivers/pinctrl/intel/pinctrl-intel.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,9 @@ struct intel_pingroup {
3737
/**
3838
* struct intel_function - Description about a function
3939
* @func: Generic data of the pin function (name and groups of pins)
40-
* @name: Name of the function
41-
* @groups: An array of groups for this function
42-
* @ngroups: Number of groups in @groups
4340
*/
4441
struct intel_function {
4542
struct pinfunction func;
46-
const char *name;
47-
const char * const *groups;
48-
size_t ngroups;
4943
};
5044

5145
#define INTEL_PINCTRL_MAX_GPP_SIZE 32
@@ -188,9 +182,6 @@ struct intel_community {
188182
#define FUNCTION(n, g) \
189183
{ \
190184
.func = PINCTRL_PINFUNCTION((n), (g), ARRAY_SIZE(g)), \
191-
.name = (n), \
192-
.groups = (g), \
193-
.ngroups = ARRAY_SIZE((g)), \
194185
}
195186

196187
/**

0 commit comments

Comments
 (0)