pinctrl: gemini: fix kernel-doc warnings
Subsystems (3)
PATCH 1/1 pinctrl: gemini: fix kernel-doc warnings
struct gemini_pmx documents a virtbase member that does not exist and leaves pctl undocumented. struct gemini_pmx_func is missing num_groups.
Drop the stale entry and add the two missing ones. No functional change.
Signed-off-by Aryan Sinha <[email protected]>
--- drivers/pinctrl/pinctrl-gemini.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/pinctrl/pinctrl-gemini.c +2 -1
@@ -41,7 +41,7 @@ struct gemini_pin_conf {/** * struct gemini_pmx - state holder for the gemini pin controller * @dev: a pointer back to containing device -* @virtbase: the offset to the controller in virtual memory +* @pctl: the pin controller device * @map: regmap to access registers * @is_3512: whether the SoC/package is the 3512 variant * @is_3516: whether the SoC/package is the 3516 variant
@@ -2031,6 +2031,7 @@ static const struct pinctrl_ops gemini_pctrl_ops = {* struct gemini_pmx_func - describes Gemini pinmux functions * @name: the name of this specific function * @groups: corresponding pin groups +* @num_groups: the number of pin groups */ struct gemini_pmx_func {const char *name;
Signature · 1 line
2.46.0
Linus Walleij
maintainerQuoted 6 lines · Aryan Sinha
struct
gemini_pmxdocuments a virtbase member that does not exist and leaves pctl undocumented. structgemini_pmx_funcis missingnum_groups.Drop the stale entry and add the two missing ones. No functional change.
Signed-off-by Aryan Sinha <[email protected]>
Patch applied.
Yours,
Linus Walleij