File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 37
37
.funcs = NULL, \
38
38
}
39
39
40
- #define PINCTRL_PIN_GROUP (name , id ) \
41
- { \
42
- name, \
43
- id##_pins, \
44
- ARRAY_SIZE(id##_pins), \
45
- id##_funcs, \
40
+ #define PINCTRL_PIN_GROUP (_name_ , id ) \
41
+ { \
42
+ . name = _name_, \
43
+ .pins = id##_pins, \
44
+ .num_pins = ARRAY_SIZE(id##_pins), \
45
+ .data = id##_funcs, \
46
46
}
47
47
48
48
int mtk_moore_pinctrl_probe (struct platform_device * pdev ,
Original file line number Diff line number Diff line change 49
49
__VA_ARGS__, { } }, \
50
50
}
51
51
52
- #define PINCTRL_PIN_GROUP (name , id ) \
53
- { \
54
- name, \
55
- id##_pins, \
56
- ARRAY_SIZE(id##_pins), \
57
- id##_funcs, \
52
+ #define PINCTRL_PIN_GROUP (_name_ , id ) \
53
+ { \
54
+ . name = _name_, \
55
+ .pins = id##_pins, \
56
+ .num_pins = ARRAY_SIZE(id##_pins), \
57
+ .data = id##_funcs, \
58
58
}
59
59
60
60
int mtk_paris_pinctrl_probe (struct platform_device * pdev );
You can’t perform that action at this time.
0 commit comments