This series completes the smatch warning cleanout. Signed-off-by: Ricardo Ribalda <ribalda@xxxxxxxxxxxx> --- Changes in v2: - Fix double free in ar0251 patch. Thanks Dan! - Link to v1: https://lore.kernel.org/r/20240813-smatch-clock-v1-0-664c84295b1c@xxxxxxxxxxxx --- Ricardo Ribalda (6): media: ar0521: Refactor ar0521_power_off() media: i2c: ov5645: Refactor ov5645_set_power_off() media: i2c: s5c73m3: Move clk_prepare to its own function media: tc358746: Move clk_prepare to its own function media: meson: vdec_1: Refactor vdec_1_stop() media: meson: vdec: hevc: Refactor vdec_hevc_start and vdec_hevc_stop drivers/media/i2c/ar0521.c | 17 ++++++++--- drivers/media/i2c/ov5645.c | 15 ++++++++-- drivers/media/i2c/s5c73m3/s5c73m3-core.c | 13 ++++++++- drivers/media/i2c/tc358746.c | 12 +++++++- drivers/staging/media/meson/vdec/vdec_1.c | 16 ++++++++--- drivers/staging/media/meson/vdec/vdec_hevc.c | 43 +++++++++++++++++++++------- 6 files changed, 92 insertions(+), 24 deletions(-) --- base-commit: c80bfa4f9e0ebfce6ac909488d412347acbcb4f9 change-id: 20240813-smatch-clock-2fa3b1174857 Best regards, -- Ricardo Ribalda <ribalda@xxxxxxxxxxxx>