Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

iio: accel: mma9553: Drop ACPI_PTR() usage

Avoiding unused variable warnings when using this macro adds
complexity that in simple cases like this one is not justified
for the small saving in data.

Whilst here tidy up a trivial bit of unusual indentation.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20231231183514.566609-5-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

+2 -2
+2 -2
drivers/iio/accel/mma9553.c
··· 1243 1243 static struct i2c_driver mma9553_driver = { 1244 1244 .driver = { 1245 1245 .name = MMA9553_DRV_NAME, 1246 - .acpi_match_table = ACPI_PTR(mma9553_acpi_match), 1246 + .acpi_match_table = mma9553_acpi_match, 1247 1247 .pm = pm_ptr(&mma9553_pm_ops), 1248 - }, 1248 + }, 1249 1249 .probe = mma9553_probe, 1250 1250 .remove = mma9553_remove, 1251 1251 .id_table = mma9553_id,