media: staging: media: soc_camera: soc_mt9v022: simplify getting the adapter of a...
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Sat, 8 Jun 2019 10:56:12 +0000 (06:56 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 24 Jun 2019 15:18:13 +0000 (11:18 -0400)
commitecaa3e9423dced739e317adbf3247ad43cb0b4fe
tree84533dfb948dcf05f49dd759bd04936a86118658
parentac76efaecb4583a60fa542e5ff47994c958605dc
media: staging: media: soc_camera: soc_mt9v022: simplify getting the adapter of a client

We have a dedicated pointer for that, so use it. Much easier to read and
less computation involved.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/staging/media/soc_camera/soc_mt9v022.c