diff options
author | Stefan Wahren <wahrenst@gmx.net> | 2024-08-21 23:40:48 +0200 |
---|---|---|
committer | Maíra Canal <mcanal@igalia.com> | 2024-08-22 07:57:44 -0300 |
commit | f60ef67ff21ede6f3d27d439a136481446dbd8aa (patch) | |
tree | be6055bf1f6886ff8c25c857336d7a6a09bdb30f /drivers/gpu/drm/drm_cache.c | |
parent | 59ac702a932028f572e34cd27fce235def2fc488 (diff) | |
download | linux-f60ef67ff21ede6f3d27d439a136481446dbd8aa.tar.gz linux-f60ef67ff21ede6f3d27d439a136481446dbd8aa.tar.bz2 linux-f60ef67ff21ede6f3d27d439a136481446dbd8aa.zip |
drm/vc4: v3d: simplify clock retrieval
Common pattern of handling deferred probe can be simplified with
dev_err_probe() and devm_clk_get_optional(). This results in much
less code.
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Reviewed-by: Maíra Canal <mcanal@igalia.com>
Signed-off-by: Maíra Canal <mcanal@igalia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240821214052.6800-6-wahrenst@gmx.net
Diffstat (limited to 'drivers/gpu/drm/drm_cache.c')
0 files changed, 0 insertions, 0 deletions