Re: [PATCH 1/5] i2c: mt65xx: drop of_match_ptr for ID table

From: AngeloGioacchino Del Regno
Date: Mon Mar 13 2023 - 04:49:32 EST


Il 11/03/23 12:16, Krzysztof Kozlowski ha scritto:
The driver can match only via the DT table so the table should be always
used and the of_match_ptr does not have any sense (this also allows ACPI
matching via PRP0001, even though it might not be relevant here).

drivers/i2c/busses/i2c-mt65xx.c:514:34: error: ‘mtk_i2c_of_match’ defined but not used [-Werror=unused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>