commit | 0658293012af1e69d8bb8a25e71781470f9b2ac6 | [log] [tgz] |
---|---|---|
author | Sakari Ailus <sakari.ailus@linux.intel.com> | Wed Aug 29 05:52:46 2018 -0400 |
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | Mon Sep 17 15:17:22 2018 -0400 |
tree | 69196e8b283dd4fbcb8ffc6df5f4bf4c4d6ba47e | |
parent | e6002df8f37fdeb1b00c65892e45dffbec8d39ed [diff] |
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>