diff options
author | Sui Jingfeng <suijingfeng@loongson.cn> | 2023-10-02 19:12:06 +0800 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2024-01-23 10:20:20 +0100 |
commit | f5cc0cbc2796627d8b9c561a8e135fe34615b654 (patch) | |
tree | 081b205add28cac41b9c55187bbcc9674c75b500 /drivers/hwmon/mc34vr500.c | |
parent | a10a43eee8589221d79b9050556aed2c5842d8b8 (diff) | |
download | linux-f5cc0cbc2796627d8b9c561a8e135fe34615b654.tar.gz linux-f5cc0cbc2796627d8b9c561a8e135fe34615b654.tar.bz2 linux-f5cc0cbc2796627d8b9c561a8e135fe34615b654.zip |
drm/etnaviv: Add a helper to get the first available GPU device node
This patch make the code in the etnaviv_pdev_probe() less twisted, and it
also make it easier to drop the reference to device node after finished.
Before apply this patch, there is no call to of_node_put() when done. We
should call of_node_put() when done.
Signed-off-by: Sui Jingfeng <suijingfeng@loongson.cn>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'drivers/hwmon/mc34vr500.c')
0 files changed, 0 insertions, 0 deletions