]> git.baikalelectronics.ru Git - kernel.git/commit
media: bt8xx: avoid a needless u8 to char conversion
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 29 Mar 2019 14:29:40 +0000 (10:29 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 29 Mar 2019 14:29:40 +0000 (10:29 -0400)
commitb26f49d1b8098b6e918eb7e516f296075b7dd465
tree24be90903c3bc70a2c55dc92cf7101fba7021d42
parenta2a01df8a9d1a6c9880f4d202aa616cb2ac4a4e5
media: bt8xx: avoid a needless u8 to char conversion

Instead of doing the cast, just change the type to char.

Suggested-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/pci/bt8xx/dst.c
drivers/media/pci/bt8xx/dst_common.h