gpio: zynq: Fix the documentation warning in zynq_gpio_get_bank_pin
authorVenkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Thu, 17 Jul 2025 04:46:32 +0000 (10:16 +0530)
committerMichal Simek <michal.simek@amd.com>
Thu, 24 Jul 2025 06:54:16 +0000 (08:54 +0200)
commit62c2c5d2479801f8d9a8c2e4c2d07c564010ea33
treea480d19e5110e5fa69da244ec7328940de827734
parentd9f17545434e5e3ca41b6f585ef8777529f33829
gpio: zynq: Fix the documentation warning in zynq_gpio_get_bank_pin

The 'dev' parameter in the zynq_gpio_get_bank_pin function was not
described in its kernel-doc comment block, leading to a Sparse warning.

drivers/gpio/zynq_gpio.c:194: warning: Function parameter or member 'dev'
not described in 'zynq_gpio_get_bank_pin'

Add a description for the 'dev' parameter to satisfy the documentation
requirements and improve code clarity for this function.

Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Link: https://lore.kernel.org/r/20250717044632.1353588-1-venkatesh.abbarapu@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
drivers/gpio/zynq_gpio.c