]> asedeno.scripts.mit.edu Git - linux.git/commit
media: staging/intel-ipu3: Use dev_get_drvdata where possible
authorChuhong Yuan <hslester96@gmail.com>
Wed, 24 Jul 2019 12:22:19 +0000 (08:22 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 25 Jul 2019 10:45:46 +0000 (06:45 -0400)
commit6ddb094a9f8c451c42bc7c58cfed22275e8a1e38
tree01c942a987398c51783779d3a4c1b4dd6ee669e7
parent3be9cc6ad3faaf403550aea3879743be7d1c307d
media: staging/intel-ipu3: Use dev_get_drvdata where possible

Instead of using to_pci_dev + pci_get_drvdata,
use dev_get_drvdata to make code simpler.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/staging/media/ipu3/ipu3.c