diff options
| author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-11-30 15:27:57 +0100 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-01-09 14:25:25 +0000 |
| commit | 9d8fd2a06a2bcce8eada1bad26cbe0fbfc27cdf4 (patch) | |
| tree | 242e6d4b8cf2fa198654e86cf3d3c75876d689a9 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | c2b7720a7905bb8aa3a9decbf135fec98faba38d (diff) | |
| download | linux-9d8fd2a06a2bcce8eada1bad26cbe0fbfc27cdf4.tar.gz linux-9d8fd2a06a2bcce8eada1bad26cbe0fbfc27cdf4.zip | |
iio: adc: xilinx: use helper variable for &pdev->dev
It's more elegant to use a helper local variable to store the address
of the underlying struct device than to dereference pdev everywhere.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Tested-by: Anand Ashok Dumbre <anandash@xilinx.com>
Reviewed-by: Anand Ashok Dumbre <anandash@xilinx.com>
Link: https://lore.kernel.org/r/20201130142759.28216-2-brgl@bgdev.pl
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
