summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/atmel
diff options
context:
space:
mode:
authorWan Jiabing <wanjiabing@vivo.com>2022-05-16 14:13:30 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-06-20 10:30:30 +0100
commit97185c4585678af316873d4e9725af9dc3796d9e (patch)
tree8afd06235facf0458bfc9005429529d751c0cb31 /drivers/media/platform/atmel
parent6aaf006c67798ac693eb24940953ab2e1b4d5577 (diff)
downloadlinux-97185c4585678af316873d4e9725af9dc3796d9e.tar.bz2
media: st-delta: Remove unneeded NULL check in delta-v4l2
clk_prepare_enable() already checks NULL by using !clk. clk_disable_unprepare() already checks NULL by using IS_ERR_OR_NULL. Remove unneeded NULL checks before them. Signed-off-by: Wan Jiabing <wanjiabing@vivo.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/platform/atmel')
0 files changed, 0 insertions, 0 deletions