aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/bt8xx/dst_common.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-03-29 10:29:40 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-03-29 10:29:40 -0400
commit05fa38fd63e557d2681b063f053c5b94d9c442e3 (patch)
tree24be90903c3bc70a2c55dc92cf7101fba7021d42 /drivers/media/pci/bt8xx/dst_common.h
parentmedia: replace strncpy() by strscpy() (diff)
downloadlinux-dev-05fa38fd63e557d2681b063f053c5b94d9c442e3.tar.xz
linux-dev-05fa38fd63e557d2681b063f053c5b94d9c442e3.zip
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>
Diffstat (limited to 'drivers/media/pci/bt8xx/dst_common.h')
-rw-r--r--drivers/media/pci/bt8xx/dst_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/pci/bt8xx/dst_common.h b/drivers/media/pci/bt8xx/dst_common.h
index 6a2cfdd44e3e..79dec1b1722c 100644
--- a/drivers/media/pci/bt8xx/dst_common.h
+++ b/drivers/media/pci/bt8xx/dst_common.h
@@ -138,7 +138,7 @@ struct dst_state {
u32 tuner_type;
char *tuner_name;
struct mutex dst_mutex;
- u8 fw_name[8];
+ char fw_name[8];
struct dvb_device *dst_ca;
};