FROMLIST: gpio: Add fwnode_gpiod_get() helper - #870
Conversation
Add fwnode_gpiod_get() as a convenience wrapper around fwnode_gpiod_get_index() for the common case where only the first GPIO is required. This mirrors existing gpiod_get() and devm_gpiod_get() helpers and avoids open-coding index 0 at call sites. Suggested-by: Manivannan Sadhasivam <mani@kernel.org> Acked-by: Manivannan Sadhasivam <mani@kernel.org> Reviewed-by: Linus Walleij <linusw@kernel.org> Acked-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> Signed-off-by: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com> Signed-off-by: Ziyue Zhang <ziyue.zhang@oss.qualcomm.com> Link: https://lore.kernel.org/all/20260511-wakeirq_support-v10-1-c10af9c9eb8c@oss.qualcomm.com/
Test Matrix
|
Test Matrix
|
Test Matrix
|
Test Matrix
|
a9f49bb
into
qualcomm-linux:qcom-6.18.y
|
Change task cannot be moved to Dev Complete CR: 4542930 The change task for this CR cannot be automatically moved to Dev Complete due to the error above. Please resolve the issue mentioned in the error and manually change the change task status to Dev Complete in Orbit. |
1 similar comment
|
Change task cannot be moved to Dev Complete CR: 4542930 The change task for this CR cannot be automatically moved to Dev Complete due to the error above. Please resolve the issue mentioned in the error and manually change the change task status to Dev Complete in Orbit. |
LAVA Failed Case Triage SummaryPR: #870 Job 207575 | SoC qcs8300-rideLAVA job: https://lava-oss.qualcomm.com/scheduler/job/207575 Failed test cases in LAVA job 207575 (SoC: qcs8300-ride).
Job 207576 | SoC qcs9100-rideLAVA job: https://lava-oss.qualcomm.com/scheduler/job/207576 Failed test cases in LAVA job 207576 (SoC: qcs9100-ride).
Job 207577 | SoC lemans-evkLAVA job: https://lava-oss.qualcomm.com/scheduler/job/207577 Failed test cases in LAVA job 207577 (SoC: lemans-evk).
Job 207578 | SoC monaco-evkLAVA job: https://lava-oss.qualcomm.com/scheduler/job/207578 Failed test cases in LAVA job 207578 (SoC: monaco-evk).
Job 207579 | SoC qcs6490-rb3gen2LAVA job: https://lava-oss.qualcomm.com/scheduler/job/207579 Failed test cases in LAVA job 207579 (SoC: qcs6490-rb3gen2).
Job 207580 | SoC shikra-iqs-evkLAVA job: https://lava-oss.qualcomm.com/scheduler/job/207580 Failed test cases in LAVA job 207580 (SoC: shikra-iqs-evk).
Job 207581 | SoC hamoa-evkLAVA job: https://lava-oss.qualcomm.com/scheduler/job/207581 Failed test cases in LAVA job 207581 (SoC: hamoa-evk).
Job 207582 | SoC purwa-evkLAVA job: https://lava-oss.qualcomm.com/scheduler/job/207582 Failed test cases in LAVA job 207582 (SoC: purwa-evk).
Job 207583 | SoC qcs615-rideLAVA job: https://lava-oss.qualcomm.com/scheduler/job/207583 Failed test cases in LAVA job 207583 (SoC: qcs615-ride).
|
Add fwnode_gpiod_get() as a convenience wrapper around
fwnode_gpiod_get_index() for the common case where only the
first GPIO is required.
This mirrors existing gpiod_get() and devm_gpiod_get() helpers
and avoids open-coding index 0 at call sites.
Suggested-by: Manivannan Sadhasivam mani@kernel.org
Acked-by: Manivannan Sadhasivam mani@kernel.org
Reviewed-by: Linus Walleij linusw@kernel.org
Acked-by: Bartosz Golaszewski bartosz.golaszewski@oss.qualcomm.com
Signed-off-by: Krishna Chaitanya Chundru krishna.chundru@oss.qualcomm.com
Signed-off-by: Ziyue Zhang ziyue.zhang@oss.qualcomm.com
Link: https://lore.kernel.org/all/20260511-wakeirq_support-v10-1-c10af9c9eb8c@oss.qualcomm.com/
CRs-Fixed: 4542930