mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
3b63f5e8f7
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> |
||
---|---|---|
.. | ||
adis16201.c | ||
adis16209.c | ||
adxl313.h | ||
adxl313_core.c | ||
adxl313_i2c.c | ||
adxl313_spi.c | ||
adxl345.h | ||
adxl345_core.c | ||
adxl345_i2c.c | ||
adxl345_spi.c | ||
adxl355.h | ||
adxl355_core.c | ||
adxl355_i2c.c | ||
adxl355_spi.c | ||
adxl367.c | ||
adxl367.h | ||
adxl367_i2c.c | ||
adxl367_spi.c | ||
adxl372.c | ||
adxl372.h | ||
adxl372_i2c.c | ||
adxl372_spi.c | ||
bma180.c | ||
bma220_spi.c | ||
bma400.h | ||
bma400_core.c | ||
bma400_i2c.c | ||
bma400_spi.c | ||
bmc150-accel-core.c | ||
bmc150-accel-i2c.c | ||
bmc150-accel-spi.c | ||
bmc150-accel.h | ||
bmi088-accel-core.c | ||
bmi088-accel-spi.c | ||
bmi088-accel.h | ||
cros_ec_accel_legacy.c | ||
da280.c | ||
da311.c | ||
dmard06.c | ||
dmard09.c | ||
dmard10.c | ||
fxls8962af-core.c | ||
fxls8962af-i2c.c | ||
fxls8962af-spi.c | ||
fxls8962af.h | ||
hid-sensor-accel-3d.c | ||
Kconfig | ||
kionix-kx022a-i2c.c | ||
kionix-kx022a-spi.c | ||
kionix-kx022a.c | ||
kionix-kx022a.h | ||
kxcjk-1013.c | ||
kxsd9-i2c.c | ||
kxsd9-spi.c | ||
kxsd9.c | ||
kxsd9.h | ||
Makefile | ||
mc3230.c | ||
mma7455.h | ||
mma7455_core.c | ||
mma7455_i2c.c | ||
mma7455_spi.c | ||
mma7660.c | ||
mma8452.c | ||
mma9551.c | ||
mma9551_core.c | ||
mma9551_core.h | ||
mma9553.c | ||
msa311.c | ||
mxc4005.c | ||
mxc6255.c | ||
sca3000.c | ||
sca3300.c | ||
ssp_accel_sensor.c | ||
st_accel.h | ||
st_accel_buffer.c | ||
st_accel_core.c | ||
st_accel_i2c.c | ||
st_accel_spi.c | ||
stk8ba50.c | ||
stk8312.c |