summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2025-04-16 10:01:35 +0300
committerWolfram Sang <wsa+renesas@sang-engineering.com>2025-04-16 19:08:32 +0300
commitdf6d7277e5525d6cce63127dd93ebec4c6354fa0 (patch)
tree549f91af97c4f904faabe844442b69fe6ed10aff /scripts/lib
parent3435b7f0fd28b9c52963e3be7fbe6b16be373a4b (diff)
downloadlinux-df6d7277e5525d6cce63127dd93ebec4c6354fa0.tar.xz
i2c: core: Do not dereference fwnode in struct device
In order to make the underneath API easier to change in the future, prevent users from dereferencing fwnode from struct device. Instead, use the specific device_set_node() API for that. Tested-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions