aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2020-09-10 18:32:31 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-09-21 18:41:32 +0100
commit6ac282edd653d28b4d64744c7ad05e9a4e1aeaf4 (patch)
treec1dacc7a30474ce7070f966b1e1fbb91d04e20e5 /tools/perf/scripts/python/net_dropmonitor.py
parentiio:chemical:sgp30: Use local variable dev to simplify code (diff)
downloadlinux-6ac282edd653d28b4d64744c7ad05e9a4e1aeaf4.tar.gz
linux-6ac282edd653d28b4d64744c7ad05e9a4e1aeaf4.zip
iio:chemical:sgp30: Drop of_match_ptr and use generic fw accessors
This change allow the driver to be used with ACPI PRP0001 and removes an antipattern that I want to avoid being copied into new IIO drivers. The handling of match_data uses a different approach as device_get_match_data doesn't distinguish between no match, and a match but with NULL data. 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-28-jic23@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions