Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media: cafe-driver: use drvdata instead of back-casting from v4l2_device
Since commit 95db3a6 ("[media] v4l: Add a media_device pointer to the v4l2_device structure") the v4l core doesn't insist on using drvdata itself. Therefore we can use it ourselves, making things somewhat simpler. Signed-off-by: Lubomir Rintel <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
- Loading branch information