Since these net drivers depend on CONFIG_OF, there is no need to wrap the macro of_match_ptr() here. Changes in v3: - Collect responses from v1 and v2. Ruan Jinjie (5): net: dsa: realtek: Remove redundant of_match_ptr() net: dsa: rzn1-a5psw: Remove redundant of_match_ptr() net: gemini: Remove redundant of_match_ptr() net: qualcomm: Remove redundant of_match_ptr() wlcore: spi: Remove redundant of_match_ptr() drivers/net/dsa/realtek/realtek-mdio.c | 2 +- drivers/net/dsa/realtek/realtek-smi.c | 2 +- drivers/net/dsa/rzn1_a5psw.c | 2 +- drivers/net/ethernet/cortina/gemini.c | 4 ++-- drivers/net/ethernet/qualcomm/qca_uart.c | 2 +- drivers/net/wireless/ti/wlcore/spi.c | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) -- 2.34.1