aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-06-09 18:48:59 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-06-15 13:34:30 +0200
commit2de5897b5c148a1cdf31bf4628590825d694c37d (patch)
tree200cd5c452372ca5c1631f1ab4d911cf6bcca6fa /tools/perf/scripts/python/exported-sql-viewer.py
parent007cfa13e034a1a2973967cbbe31e70c19e2bf31 (diff)
device property: Implement device_is_compatible()
Some users want to use the struct device pointer to see if the device is compatible in terms of Open Firmware specifications, i.e. if it has a 'compatible' property and it matches to the given value. Provide inline helper for the users. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Serge Semin <fancer.lancer@gmail.com> Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com> Message-ID: <20230609154900.43024-3-andriy.shevchenko@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions