spi: rspi: Remove obsolete platform_device_id entries
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 11 Dec 2019 13:15:53 +0000 (14:15 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 11 Dec 2019 16:50:06 +0000 (16:50 +0000)
Since commits 05104c266ae9a167 ("ARM: shmobile: r7s72100: genmai: Remove
legacy board file") and a483dcbfa21f919c ("ARM: shmobile: lager: Remove
legacy board support", RZ/A1 and R-Car Gen2 SoCs are only supported in
generic DT-only ARM multi-platform builds.  The driver doesn't need to
match platform devices by name anymore for these platforms, hence remove
the corresponding platform_device_id entries.

The platform_device_id entry for "rspi" is retained, as it is used by
the SH7757 platform, which hasn't been converted to DT yet.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Link: https://lore.kernel.org/r/20191211131553.23960-1-geert+renesas@glider.be
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-rspi.c

index 7222c76..74a12f4 100644 (file)
@@ -1314,8 +1314,6 @@ error1:
 
 static const struct platform_device_id spi_driver_ids[] = {
        { "rspi",       (kernel_ulong_t)&rspi_ops },
-       { "rspi-rz",    (kernel_ulong_t)&rspi_rz_ops },
-       { "qspi",       (kernel_ulong_t)&qspi_ops },
        {},
 };