diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-10-24 22:05:10 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-11-01 14:54:44 +0000 |
| commit | 40a2764c95b315f3099f0e4798a0d0ae5e4526bb (patch) | |
| tree | 4ceba790f8da9eec904e1dead7350b77eef8dadd /tools/perf/scripts/python/flamegraph.py | |
| parent | iio: light: isl29018: Replace a variant of iio_get_acpi_device_name_and_data() (diff) | |
| download | linux-40a2764c95b315f3099f0e4798a0d0ae5e4526bb.tar.gz linux-40a2764c95b315f3099f0e4798a0d0ae5e4526bb.zip | |
iio: light: isl29018: drop ACPI_PTR() and CONFIG_ACPI guards
The complexity of config guards needed for ACPI_PTR() is not worthwhile
for the small amount of saved data. This example was doing it correctly
but I am proposing dropping this so as to reduce chance of cut and paste
where it is done wrong. Also drop now unneeded linux/acpi.h include and
added linux/mod_devicetable.h for struct acpi_device_id definition.
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20241024191200.229894-22-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
