Skip to content

Commit 0b33c72

Browse files
Lee JonesLinus Walleij
authored andcommitted
pinctrl: qcom: pinctrl-msm: Complete 'struct msm_pinctrl' documentation
Add missing descriptions for attributes and fix 1 formatting issue. Fixes the following W=1 kernel build warning(s): drivers/pinctrl/qcom/pinctrl-msm.c:75: warning: Function parameter or member 'desc' not described in 'msm_pinctrl' drivers/pinctrl/qcom/pinctrl-msm.c:75: warning: Function parameter or member 'irq_chip' not described in 'msm_pinctrl' drivers/pinctrl/qcom/pinctrl-msm.c:75: warning: Function parameter or member 'intr_target_use_scm' not described in 'msm_pinctrl' drivers/pinctrl/qcom/pinctrl-msm.c:75: warning: Function parameter or member 'soc' not described in 'msm_pinctrl' drivers/pinctrl/qcom/pinctrl-msm.c:75: warning: Function parameter or member 'phys_base' not described in 'msm_pinctrl' Signed-off-by: Lee Jones <lee.jones@linaro.org> Cc: Bjorn Andersson <bjorn.andersson@linaro.org> Cc: Andy Gross <agross@kernel.org> Cc: linux-arm-msm@vger.kernel.org Link: https://lore.kernel.org/r/20200713144930.1034632-6-lee.jones@linaro.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent 2dd2dbc commit 0b33c72

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎drivers/pinctrl/qcom/pinctrl-msm.c‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,20 @@
4040
* @dev: device handle.
4141
* @pctrl: pinctrl handle.
4242
* @chip: gpiochip handle.
43+
* @desc: pin controller descriptor
4344
* @restart_nb: restart notifier block.
45+
* @irq_chip: irq chip information
4446
* @irq: parent irq for the TLMM irq_chip.
47+
* @intr_target_use_scm: route irq to application cpu using scm calls
4548
* @lock: Spinlock to protect register resources as well
4649
* as msm_pinctrl data structures.
4750
* @enabled_irqs: Bitmap of currently enabled irqs.
4851
* @dual_edge_irqs: Bitmap of irqs that need sw emulated dual edge
4952
* detection.
5053
* @skip_wake_irqs: Skip IRQs that are handled by wakeup interrupt controller
51-
* @soc; Reference to soc_data of platform specific data.
54+
* @soc: Reference to soc_data of platform specific data.
5255
* @regs: Base addresses for the TLMM tiles.
56+
* @phys_base: Physical base address
5357
*/
5458
struct msm_pinctrl {
5559
struct device *dev;

0 commit comments

Comments
 (0)