diff options
author | Sui Jingfeng <[email protected]> | 2023-10-02 19:12:05 +0800 |
---|---|---|
committer | Lucas Stach <[email protected]> | 2023-10-11 18:50:07 +0200 |
commit | a10a43eee8589221d79b9050556aed2c5842d8b8 (patch) | |
tree | 3dc4264dccaa2f1e4cb5f559289322764eab8c82 /scripts/gdb/linux | |
parent | 4cb91cc2cd0d31ffc690b23c88901f4f315b9d78 (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 <[email protected]>
Signed-off-by: Lucas Stach <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions