diff mbox series

[v8,02/24] mtd: nand: raw: rockchip_nfc: remove the compatible string "rockchip,rk3308-nfc"

Message ID 345920ee-1418-16ed-9a6e-af5b65e594b8@gmail.com
State Accepted
Commit 4473b87b28fac6a9f5b46a1b69431c413a3caefd
Delegated to: Kever Yang
Headers show
Series Fixes for Rockchip NFC driver part 1 | expand

Commit Message

Johan Jonker March 13, 2023, 12:28 a.m. UTC
The compatible string for rk3308 has as fallback string
"rockchip,rv1108-nfc". As there is no logic in probe priority between
the SoC orientated string and the fall back, so remove the compatible
string "rockchip,rk3308-nfc" from the driver.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
---
 drivers/mtd/nand/raw/rockchip_nfc.c | 4 ----
 1 file changed, 4 deletions(-)

--
2.20.1
diff mbox series

Patch

diff --git a/drivers/mtd/nand/raw/rockchip_nfc.c b/drivers/mtd/nand/raw/rockchip_nfc.c
index 9f424a25..021e7ef7 100644
--- a/drivers/mtd/nand/raw/rockchip_nfc.c
+++ b/drivers/mtd/nand/raw/rockchip_nfc.c
@@ -1165,10 +1165,6 @@  static const struct udevice_id rk_nfc_id_table[] = {
 		.compatible = "rockchip,rv1108-nfc",
 		.data = (unsigned long)&nfc_v8_cfg
 	},
-	{
-		.compatible = "rockchip,rk3308-nfc",
-		.data = (unsigned long)&nfc_v8_cfg
-	},
 	{ /* sentinel */ }
 };