summaryrefslogtreecommitdiff
path: root/include/linux/gpio
diff options
context:
space:
mode:
authorRicardo Ribalda <ribalda@chromium.org>2022-12-20 23:56:44 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2023-01-15 23:45:10 +0200
commitadfd3910c27fbc0959ae5f1dafaec563f7d0bdd2 (patch)
tree5481736eba5f65952bf84dfcbbdc6e0496d0bcdc /include/linux/gpio
parent0ce75d5ecd9edaa027c0c2a7df0edcdf59ea7738 (diff)
media: uvcvideo: Remove void casting for the status endpoint
Make the code more resilient, by replacing the castings with proper structure definitions and using offsetof() instead of open coding the location of the data. Suggested-by: Sergey Senozhatsky <senozhatsky@chromium.org> Signed-off-by: Ricardo Ribalda <ribalda@chromium.org> Reviewed-by: Andrzej Pietrasiewicz <andrzej.p@collabora.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'include/linux/gpio')
0 files changed, 0 insertions, 0 deletions