summaryrefslogtreecommitdiff
path: root/scripts/stackdelta
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2023-12-31 18:34:58 +0000
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-01-23 22:06:54 +0000
commit3b63f5e8f78b0e7c1ebaf47ce192003a67d81c82 (patch)
tree1187ebebccdd378a5d64e60ff1e702e5e16d394e /scripts/stackdelta
parent095f3ed5833f55ae3f712b0dcc1bf58d2e03871d (diff)
iio: accel: bmc150: Drop ACPI_PTR()
In general the complexity of avoiding maybe unused variable warnings is not worth dealing with for the small amount of data saved. In thie case, the i2c driver does include some other code under a CONFIG_ACPI guard but remove the ACPI_PTR() usage anyway to bring keep it inline with the spi driver. Drop include of linux/acpi.h in the spi driver that doesn't need it as struct acpi_device_id is defined in mod_devicetable.h which is already included. Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20231231183514.566609-9-jic23@kernel.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts/stackdelta')
0 files changed, 0 insertions, 0 deletions