diff mbox

pinctrl: tegra: add missing kerneldoc

Message ID 1397581323-1607-1-git-send-email-swarren@wwwdotorg.org (mailing list archive)
State New, archived
Headers show

Commit Message

Stephen Warren April 15, 2014, 5:02 p.m. UTC
From: Stephen Warren <swarren@nvidia.com>

The kerneldoc for struct tegra_pingroup didn't describe all of the fields
in the struct. Add some extra kerneldoc to fix that.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
This depends on the 4-long series I sent yesterday, for patch context.

 drivers/pinctrl/pinctrl-tegra.h | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Linus Walleij April 22, 2014, 2:56 p.m. UTC | #1
On Tue, Apr 15, 2014 at 7:02 PM, Stephen Warren <swarren@wwwdotorg.org> wrote:

> From: Stephen Warren <swarren@nvidia.com>
>
> The kerneldoc for struct tegra_pingroup didn't describe all of the fields
> in the struct. Add some extra kerneldoc to fix that.
>
> Signed-off-by: Stephen Warren <swarren@nvidia.com>
> ---
> This depends on the 4-long series I sent yesterday, for patch context.

Patch applied.

Yours,
Linus Walleij
diff mbox

Patch

diff --git a/drivers/pinctrl/pinctrl-tegra.h b/drivers/pinctrl/pinctrl-tegra.h
index 24c5a91230bb..8d94d1332e7b 100644
--- a/drivers/pinctrl/pinctrl-tegra.h
+++ b/drivers/pinctrl/pinctrl-tegra.h
@@ -78,6 +78,10 @@  struct tegra_function {
 
 /**
  * struct tegra_pingroup - Tegra pin group
+ * @name		The name of the pin group.
+ * @pins		An array of pin IDs included in this pin group.
+ * @npins		The number of entries in @pins.
+ * @funcs		The mux functions which can be muxed onto this group.
  * @mux_reg:		Mux register offset.
  *			This register contains the mux, einput, odrain, lock,
  *			ioreset, rcv_sel parameters.