diff options
| author | Hans de Goede <johannes.goede@oss.qualcomm.com> | 2026-09-19 16:14:34 +0200 |
|---|---|---|
| committer | Andi Shyti <andi.shyti@kernel.org> | 2026-09-30 01:14:42 +0200 |
| commit | 8027cc6835c7b4546a88c09e1a871bbf4e780000 (patch) | |
| tree | 904ee66873e663910c16424ca9fa04a8982e0290 /tools/lib/python | |
| parent | 68f382641f8c8034a7867f7ece8e29ca1ce18601 (diff) | |
| download | linux-next-8027cc6835c7b4546a88c09e1a871bbf4e780000.tar.gz linux-next-8027cc6835c7b4546a88c09e1a871bbf4e780000.zip | |
i2c: qcom-geni: Use device_set_node() helper
Use the device_set_node() helper instead of manually setting
adap.dev.of_node. This:
1. Ensures that if the parent has an of_node, adap.dev.fwnode
also points to the parent's of_node rather than remaining
NULL.
2. Removes the need to handle a parent with an ACPI fwnode
specially, since the generic helpers take care of this too.
Signed-off-by: Hans de Goede <johannes.goede@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://patch.msgid.link/20260919141434.22999-1-johannes.goede@oss.qualcomm.com
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
