]> git.baikalelectronics.ru Git - kernel.git/commit
iio:magn:ak8975: Drop of_match_ptr and ACPI_PTR protections.
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 10 Sep 2020 17:32:38 +0000 (18:32 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 21 Sep 2020 17:41:34 +0000 (18:41 +0100)
commitd1b92017defad32a8430ff6e88f042848341832c
tree1be1a084e5725cc78b26abd8866acd9815e18fbf
parent61e58fb0badaeb3a125a79e4935f45db8390d4b4
iio:magn:ak8975: Drop of_match_ptr and ACPI_PTR protections.

Both would result in only a small size saving.  For simplicity it
is best to remove them.  I also wish to remove both these antipatterns
from IIO.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Tested-by: Jonathan Albrieux <jonathan.albrieux@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Jonathan Albrieux <jonathan.albrieux@gmail.com>
Link: https://lore.kernel.org/r/20200910173242.621168-35-jic23@kernel.org
drivers/iio/magnetometer/ak8975.c