media: seco-cec: decrement HDMI device refcount
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 10 Apr 2019 09:13:33 +0000 (05:13 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 22 Apr 2019 17:14:24 +0000 (13:14 -0400)
commitb7f3be1c53280676a7b6036f699b01ef2e97b605
treecd830507f7f59f8889a18cc9e3c9ed0ea83e8812
parent4d34c9267db7af6c23c29adb73a58882a250c2e0
media: seco-cec: decrement HDMI device refcount

The SECO CEC driver never decremented the HDMI device refcount.
CEC drivers only need the HDMI device pointer as a key in the
notifier list, it never accesses the device, so there is no
need to keep a reference.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/seco-cec/seco-cec.c