media: tc358743: cleanup tc358743_cec_isr
authorTom Rix <trix@redhat.com>
Wed, 2 Sep 2020 18:32:12 +0000 (20:32 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sat, 26 Sep 2020 08:25:51 +0000 (10:25 +0200)
commit877cb8a444dad2304e891294afb0915fe3c278d6
treedc700ce4d7c791815383d5d7f7b2b74f9c59e598
parent2d307380efec79ef7e1bd91ad4886fc02e2df26a
media: tc358743: cleanup tc358743_cec_isr

tc358743_cec_isr is misnammed, it is not the main isr.
So rename it to be consistent with its siblings,
tc358743_cec_handler.

It also does not check if its input parameter 'handled' is
is non NULL like its siblings, so add a check.

Fixes: a0ec8d1dc42e ("media: tc358743: add CEC support")
Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/tc358743.c