[PATCH 07/16] spi: s3c64xx: Drop of_match_ptr for ID table

Andi Shyti andi.shyti at kernel.org
Sat Mar 11 03:45:07 PST 2023


Hi Krzysztof,

On Fri, Mar 10, 2023 at 11:28:48PM +0100, Krzysztof Kozlowski wrote:
> The driver can match only via the DT table (all platforms are OF-only)
> 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 is
> not relevant here).
> 
>   drivers/spi/spi-s3c64xx.c:1496:34: error: ‘s3c64xx_spi_dt_match’ defined but not used [-Werror=unused-const-variable=]
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>

Reviewed-by: Andi Shyti <andi.shyti at kernel.org>

Thanks,
Andi



More information about the Linux-rockchip mailing list