Home
last modified time | relevance | path

Searched hist:"51 feb3e35899837362f7a3864c198f9de52280e8" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/iio/pressure/
H A Dhp206c.cdiff 51feb3e35899837362f7a3864c198f9de52280e8 Sun Dec 31 19:35:12 CET 2023 Jonathan Cameron <Jonathan.Cameron@huawei.com> iio: pressure: hp206c: 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: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20231231183514.566609-23-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>