media: mc: Provide a helper for setting bus_info field
authorSakari Ailus <sakari.ailus@linux.intel.com>
Sat, 22 Jan 2022 11:25:57 +0000 (11:25 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 24 Apr 2022 07:04:27 +0000 (08:04 +0100)
commit78a171e58717685ea0eb082a24bc75bd9e20518f
treebcd145a6a0de39df91259acfa524c28d205f3546
parentdb1fa290a35b1652628ba7b921ac7ad53ce36410
media: mc: Provide a helper for setting bus_info field

The bus_info or a similar field exists in a lot of structs, yet drivers
tend to set the value of that field by themselves in a determinable way.
Thus provide a helper for doing this. To be used in subsequent patches.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
include/media/media-device.h