diff options
| author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-09-10 18:32:30 +0100 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-09-21 18:41:32 +0100 |
| commit | cb26d236861ca6a3354f1623ae5b9c049fd2f972 (patch) | |
| tree | 04258c153e0b3bf15df3fc6bc682d391c26be0d0 /tools/perf/scripts/python/netdev-times.py | |
| parent | iio:chemical:atlas-sensor: Drop of_match_ptr and use generic fw accessors (diff) | |
| download | linux-cb26d236861ca6a3354f1623ae5b9c049fd2f972.tar.gz linux-cb26d236861ca6a3354f1623ae5b9c049fd2f972.zip | |
iio:chemical:sgp30: Use local variable dev to simplify code
This cleans up the code at bit, but is primarily here as a precusor
to the next patch. I've only done this for the two functions
which use the dev pointer repeatedly.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Andreas Brauchli <andreas.brauchli@sensirion.com>
Link: https://lore.kernel.org/r/20200910173242.621168-27-jic23@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
