@@ -134,16 +134,10 @@ static inline void pinmux_init_device_debugfs(struct dentry *devroot,
/**
* struct function_desc - generic function descriptor
* @func: generic data of the pin function (name and groups of pins)
- * @name: name of the function
- * @group_names: array of pin group names
- * @num_group_names: number of pin group names
* @data: pin controller driver specific data
*/
struct function_desc {
struct pinfunction func;
- const char *name;
- const char * const *group_names;
- int num_group_names;
void *data;
};
@@ -151,9 +145,6 @@ struct function_desc {
#define PINCTRL_FUNCTION_DESC(_name, _grps, _num_grps, _data) \
(struct function_desc) { \
.func = PINCTRL_PINFUNCTION(_name, _grps, _num_grps), \
- .name = _name, \
- .group_names = _grps, \
- .num_group_names = _num_grps, \
.data = _data, \
}