diff options
author | Chuhong Yuan <hslester96@gmail.com> | 2019-07-23 07:50:14 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-07-25 06:45:10 -0400 |
commit | bfe655d159af96632f4930c718e0fc5689460f98 (patch) | |
tree | b8a240978ae690a7075c785d82adcea23e0f336b /drivers/media/v4l2-core/v4l2-fwnode.c | |
parent | 913c55a86400e0b3c99164a71a826ffb860c26c4 (diff) |
media: pci: 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>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-fwnode.c')
0 files changed, 0 insertions, 0 deletions