aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorSui Jingfeng <suijingfeng@loongson.cn>2023-10-02 19:12:05 +0800
committerLucas Stach <l.stach@pengutronix.de>2023-10-11 18:50:07 +0200
commita10a43eee8589221d79b9050556aed2c5842d8b8 (patch)
tree3dc4264dccaa2f1e4cb5f559289322764eab8c82 /tools/perf/scripts/python/exported-sql-viewer.py
parent4cb91cc2cd0d31ffc690b23c88901f4f315b9d78 (diff)
drm/etnaviv: Add helper functions to create and destroy platform device
The newly introduced functions are etnaviv_create_platform_device() and etnaviv_destroy_platform_device(). Those two function are pure function and can be shared for other use case. Currently, the benefit is that we no longer need to call of_node_put() for three different cases, we only need to call it once in the etnaviv_init() function. Signed-off-by: Sui Jingfeng <suijingfeng@loongson.cn> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions