diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-09-23 18:20:57 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-09-27 11:47:22 +0300 |
commit | 8cdd708f11655d5f28fca1ab2fa0dbe5424f274c (patch) | |
tree | d5d4d6e24436144d00901115f44d8d7f04eac223 /net/bridge | |
parent | d9d432af1415b358d76b110c9e37e4f07d2e1c7b (diff) | |
download | linux-8cdd708f11655d5f28fca1ab2fa0dbe5424f274c.tar.xz |
media: use sizeof() instead of V4L2_SUBDEV_NAME_SIZE
Don't rely on a define, let the compiler use the actual
field size.
Remove all uses of the V4L2_SUBDEV_NAME_SIZE define and also
drop the define itself.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Maxime Ripard <mripard@kernel.org>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Tested-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Diffstat (limited to 'net/bridge')
0 files changed, 0 insertions, 0 deletions