diff options
| author | Ruan Jinjie <ruanjinjie@huawei.com> | 2023-08-18 13:15:40 +0300 |
|---|---|---|
| committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-09-27 10:39:55 +0300 |
| commit | a805136eec48c7f0e3b7dad44ec5efb506a938d8 (patch) | |
| tree | ebe15758d593ec15138041980f0839bfd38c9024 /include/linux/debugobjects.h | |
| parent | 16fae979ed6b2753c07bdc9943cd9892349b69d4 (diff) | |
| download | linux-a805136eec48c7f0e3b7dad44ec5efb506a938d8.tar.xz | |
media: c8sectpfe: Use the devm_clk_get_enabled() helper function
With devm_clk_get_enabled() the call to clk_disable_unprepare() can be
dropped from the error path and the remove callback.
Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
