diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2025-04-16 10:01:32 +0300 |
|---|---|---|
| committer | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2025-04-16 18:05:47 +0200 |
| commit | 5763a474c887d4a9039ed684b1cc329f924c390b (patch) | |
| tree | 90a60d2fbb672d390b5fbe1071942934a471e30b /tools/perf/scripts/python | |
| parent | i2c: core: Drop duplicate check before calling OF APIs (diff) | |
| download | linux-5763a474c887d4a9039ed684b1cc329f924c390b.tar.gz linux-5763a474c887d4a9039ed684b1cc329f924c390b.zip | |
i2c: core: Unify the firmware node type check
OF and ACPI currently are using asymmetrical APIs to check
for the firmware node type. Unify them by using is_*_node()
against struct fwnode_handle pointer.
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
