]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
iio: magnetometer: ak8975: drop incorrect AK09116 compatible
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 6 Aug 2024 05:30:15 +0000 (07:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2024 14:29:39 +0000 (16:29 +0200)
[ Upstream commit da6e3160df230692bbd48a6d52318035f19595e2 ]

All compatibles in this binding without prefixes were deprecated, so
adding a new deprecated one after some time is not allowed, because it
defies the core logic of deprecating things.

Drop the AK09916 vendorless compatible.

Fixes: 76e28aa97fa0 ("iio: magnetometer: ak8975: add AK09116 support")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20240806053016.6401-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/iio/magnetometer/ak8975.c

index 104798549de1123bfe0d283e3fcfd944be7c6364..a79a1d5b46394fc167cb4a7ce1cf2fc1170caa47 100644 (file)
@@ -1083,7 +1083,6 @@ static const struct of_device_id ak8975_of_match[] = {
        { .compatible = "asahi-kasei,ak09912", .data = &ak_def_array[AK09912] },
        { .compatible = "ak09912", .data = &ak_def_array[AK09912] },
        { .compatible = "asahi-kasei,ak09916", .data = &ak_def_array[AK09916] },
-       { .compatible = "ak09916", .data = &ak_def_array[AK09916] },
        {}
 };
 MODULE_DEVICE_TABLE(of, ak8975_of_match);