]> git.baikalelectronics.ru Git - kernel.git/commit
media: cec: seco: remove byte handling from smb_word_op
authorTom Rix <trix@redhat.com>
Sat, 12 Mar 2022 15:48:45 +0000 (16:48 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 13 May 2022 09:02:17 +0000 (11:02 +0200)
commit683b50b893e2033253b7e4bf1fe81877da1574ca
tree851cc89cd7b39ac35d92505bc548999250c5bbc9
parent6969ccbda99ec7569421346e9cffbab6db2de3d6
media: cec: seco: remove byte handling from smb_word_op

smb_word_op() has a parameter data_format that
determines if the data is either a byte or
word.  From inspection, smb_word_op() is only
used by the macros smb_wr16() and smb_rd16()
both pass in CMD_WORD_DATA. There is no use of
smb_word_op() that passes in CMD_BYTE_DATA.
So remove the byte handling.

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