mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-01 08:04:22 +08:00
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>
This commit is contained in:
parent
9b397c11e0
commit
3572c3700e
@ -1243,9 +1243,9 @@ MODULE_DEVICE_TABLE(i2c, mma9553_id);
|
||||
static struct i2c_driver mma9553_driver = {
|
||||
.driver = {
|
||||
.name = MMA9553_DRV_NAME,
|
||||
.acpi_match_table = ACPI_PTR(mma9553_acpi_match),
|
||||
.acpi_match_table = mma9553_acpi_match,
|
||||
.pm = pm_ptr(&mma9553_pm_ops),
|
||||
},
|
||||
},
|
||||
.probe = mma9553_probe,
|
||||
.remove = mma9553_remove,
|
||||
.id_table = mma9553_id,
|
||||
|
Loading…
Reference in New Issue
Block a user