]> git.baikalelectronics.ru Git - kernel.git/commit
media: imx274: don't hard-code the subdev name to DRIVER_NAME
authorLuca Ceresoli <luca@lucaceresoli.net>
Fri, 24 Aug 2018 16:35:21 +0000 (12:35 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 17 Sep 2018 19:11:38 +0000 (15:11 -0400)
commit8fa9552506afde2cd0b36ad2b9b1ed96cd5f0344
tree9222dc6baf0d997c1ed81d80850b2d40eb801cd5
parent36b2f050e470d3f218772772d929d7b33d418d9c
media: imx274: don't hard-code the subdev name to DRIVER_NAME

Forcibly setting the subdev name to DRIVER_NAME (i.e. "IMX274") makes
it non-unique and less informative.

Let the driver use the default name from i2c, e.g. "IMX274 2-001a".

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/imx274.c