diff options
| author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-07-06 20:36:33 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-07-19 10:34:59 +0200 |
| commit | 92790656cee2f0b02855452d73f85127ac68081c (patch) | |
| tree | 6d45e0ea7c6accfe699cbe757bf64215087f69f0 /tools/perf/scripts/python/flamegraph.py | |
| parent | media: ti-vpe: cal: Print revision and hwinfo in a more readable format (diff) | |
| download | linux-92790656cee2f0b02855452d73f85127ac68081c.tar.gz linux-92790656cee2f0b02855452d73f85127ac68081c.zip | |
media: ti-vpe: cal: Store struct device in cal_dev
The cal_dev structure stores the platform_device pointer, but most
accesses to that field need the device pointer. Store the struct device
pointer directly to simplify the code, and use to_platform_device() in
the two locations that need the platform device.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
