media: v4l: sr030pc30: Remove redundant setting of sub-device name
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 29 Aug 2018 10:01:48 +0000 (06:01 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 17 Sep 2018 19:18:38 +0000 (15:18 -0400)
commit7d3073f13ea85a1e8b868502fa6735696a629060
treef3e188652c60d5087b42b5763f362da4d2368781
parent18ce84857975c976022429dc964bd01d60f87d0c
media: v4l: sr030pc30: Remove redundant setting of sub-device name

The sub-device name is set right after in v4l2_i2c_subdev_init(). Remove
the redundant strcpy() call.

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>
drivers/media/i2c/sr030pc30.c