diff options
| author | 2026-09-19 16:14:34 +0200 | |
|---|---|---|
| committer | 2026-09-30 01:14:42 +0200 | |
| commit | 8027cc6835c7b4546a88c09e1a871bbf4e780000 (patch) | |
| tree | 904ee66873e663910c16424ca9fa04a8982e0290 /scripts/Makefile.thinlto | |
| parent | i2c: smbus: make i2c_smbus_read_block_data() safer (diff) | |
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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
