aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2020-09-10 18:32:29 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-09-21 18:41:31 +0100
commita867e8986759bf25251c8cad3798cba0e4c25a6e (patch)
tree01d90dd36c3f8d017deb36a9d85f5c51976bb129 /tools/perf/scripts/python/bin
parentiio:chemical:ams-iaq-core: Drop of_match_ptr protection (diff)
downloadlinux-a867e8986759bf25251c8cad3798cba0e4c25a6e.tar.gz
linux-a867e8986759bf25251c8cad3798cba0e4c25a6e.zip
iio:chemical:atlas-sensor: Drop of_match_ptr and use generic fw accessors
of_match_ptr() prevents use of this driver with ACPI via PRP0001 and is an example of an anti pattern I'm trying to remove from IIO. Hence drop from this driver and use generic fw accessors to check if there is a fw_node and get the id. It might be neater to use pointers rather than indexes for the device_data but that is another issue and should be handled separately. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Acked-by: Matt Ranostay <matt.ranostay@konsulko.com> Link: https://lore.kernel.org/r/20200910173242.621168-26-jic23@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions