diff options
author | Fei Shao <fshao@chromium.org> | 2023-05-15 09:16:10 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-05-25 17:21:21 +0300 |
commit | ecdbab337da1c72a8bb9e2162a271943e3559a52 (patch) | |
tree | 624ecc3a19981bd0f8208a0956b3a0c07bd6b7bd /drivers/media/i2c/tw9910.c | |
parent | bf950e1f3030ab310cdbc386e0ad3e531bc32de4 (diff) | |
download | linux-ecdbab337da1c72a8bb9e2162a271943e3559a52.tar.xz |
media: mediatek: vcodec: mtk_vcodec_dec_hw: Use devm_pm_runtime_enable()
Convert pm_runtime_enable() to the managed version, and clean up error
handling and unnecessary .remove() callback accordingly.
Signed-off-by: Fei Shao <fshao@chromium.org>
Reviewed-by: Alexandre Mergnat <amergnat@baylibre.com>
Suggested-by: Chen-Yu Tsai <wenst@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers/media/i2c/tw9910.c')
0 files changed, 0 insertions, 0 deletions