From: Magnus Damm <damm+renesas@xxxxxxxxxxxxx> Since late 2017 the DT compat string "renesas,cmt-48-gen2" has not been in use in the upstream kernel. SoC-specific strings and the fallback string "rcar-gen2-cmt1" are now used in the DTSI instead. Remove "renesas,cmt-48-gen2" from the CMT driver. Signed-off-by: Magnus Damm <damm+renesas@xxxxxxxxxxxxx> --- drivers/clocksource/sh_cmt.c | 5 ----- 1 file changed, 5 deletions(-) --- 0027/drivers/clocksource/sh_cmt.c +++ work/drivers/clocksource/sh_cmt.c 2019-06-17 14:44:52.819144991 +0900 @@ -923,11 +923,6 @@ MODULE_DEVICE_TABLE(platform, sh_cmt_id_ static const struct of_device_id sh_cmt_of_table[] __maybe_unused = { { .compatible = "renesas,cmt-48", .data = &sh_cmt_info[SH_CMT_48BIT] }, { - /* deprecated, preserved for backward compatibility */ - .compatible = "renesas,cmt-48-gen2", - .data = &sh_cmt_info[SH_CMT0_RCAR_GEN2] - }, - { .compatible = "renesas,r8a7740-cmt1", .data = &sh_cmt_info[SH_CMT_48BIT] },