media: staging/imx: remove devname string from imx_media_subdev
authorSteve Longerbeam <slongerbeam@gmail.com>
Fri, 15 Dec 2017 01:04:42 +0000 (20:04 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 15 Dec 2017 19:05:29 +0000 (14:05 -0500)
commit4dadf0562bccfa244511d4e5211c8b81e9934712
treebec0bc6b5efde08667bd27416b01d5385af8d3c5
parentf5abe1c5f9bd3e5a4dad5079f6cd51641f2bf2a3
media: staging/imx: remove devname string from imx_media_subdev

A separate string for the device name, for DEVNAME async match, was
never needed. Just assign the asd device name to the passed platform
device name pointer in imx_media_add_async_subdev().

Signed-off-by: Steve Longerbeam <steve_longerbeam@mentor.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/imx/imx-media-dev.c
drivers/staging/media/imx/imx-media.h