summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2018-08-29 05:52:46 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-17 15:17:22 -0400
commit0658293012af1e69d8bb8a25e71781470f9b2ac6 (patch)
tree69196e8b283dd4fbcb8ffc6df5f4bf4c4d6ba47e /net
parente6002df8f37fdeb1b00c65892e45dffbec8d39ed (diff)
downloadlinux-0658293012af1e69d8bb8a25e71781470f9b2ac6.tar.gz
linux-0658293012af1e69d8bb8a25e71781470f9b2ac6.tar.bz2
linux-0658293012af1e69d8bb8a25e71781470f9b2ac6.zip
media: v4l: subdev: Add a function to set an I²C sub-device's name
v4l2_i2c_subdev_set_name() can be used to assign a name to a sub-device. This way uniform names can be formed easily without having to resort to things such as snprintf in drivers. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions