diff options
author | Philippe De Muyter <phdm@macqel.be> | 2018-08-02 00:20:56 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-09-12 16:21:09 +0300 |
commit | 447d66855391f702493cbbc8b8bdcc5a75d71f52 (patch) | |
tree | 04955e264f1f6953ec7533b4c833c4069e4386a7 /drivers/nvdimm | |
parent | c4189ffb8c052ce4b2bd4ace6cd628a4fe3d9e65 (diff) | |
download | linux-447d66855391f702493cbbc8b8bdcc5a75d71f52.tar.xz |
media: v4l2-common: v4l2_spi_subdev_init : generate unique name
While v4l2_i2c_subdev_init does give a unique name to the subdev, matching
the one appearing in dmesg for messages generated by dev_info and friends
(e.g. imx185 30-0010), v4l2_spi_subdev_init does a poor job, copying only
the driver name, but not the dev_name(), yielding e.g. "imx185", but
missing the "spi1.1" part, and not generating a unique name.
Fix that.
Signed-off-by: Philippe De Muyter <phdm@macqel.be>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/nvdimm')
0 files changed, 0 insertions, 0 deletions