media: v4l2-device.h: drop V4L2_DEVICE_NAME_SIZE
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Sat, 23 Sep 2023 15:20:58 +0000 (17:20 +0200)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 27 Sep 2023 08:47:23 +0000 (10:47 +0200)
commit06016a67c61675642c71358c2afe6ce99b5d1468
tree3813c675911871a9489e314025b29dec6fa5ce5a
parent8cdd708f11655d5f28fca1ab2fa0dbe5424f274c
media: v4l2-device.h: drop V4L2_DEVICE_NAME_SIZE

Don't use defines for the size of a name field, everyone
should just use sizeof(). In this case it was never used,
but it is bad practice, so just drop it.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
include/media/v4l2-device.h