Unify the list terminator to have a single space between the brackets and no trailing comma. This change doesn't introduce any diffs between pre/post to the compiled binaries of the modified drivers and just aligns these to the common style with other *_device_id arrays.
Signed-off-by: Pawel Zalewski <[email protected]> --- drivers/mtd/hyperbus/hbmc-am654.c | 2 +- drivers/mtd/hyperbus/rpc-if.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/hyperbus/hbmc-am654.c b/drivers/mtd/hyperbus/hbmc-am654.c index acbcc3b55d86..bac24d9ca02b 100644 --- a/drivers/mtd/hyperbus/hbmc-am654.c +++ b/drivers/mtd/hyperbus/hbmc-am654.c @@ -255,7 +255,7 @@ static const struct of_device_id am654_hbmc_dt_ids[] = { { .compatible = "ti,am654-hbmc", }, - { /* end of table */ } + { } }; MODULE_DEVICE_TABLE(of, am654_hbmc_dt_ids); diff --git a/drivers/mtd/hyperbus/rpc-if.c b/drivers/mtd/hyperbus/rpc-if.c index 9eacc9ec7382..a0917f407d7a 100644 --- a/drivers/mtd/hyperbus/rpc-if.c +++ b/drivers/mtd/hyperbus/rpc-if.c @@ -165,7 +165,7 @@ static void rpcif_hb_remove(struct platform_device *pdev) static const struct platform_device_id rpc_if_hyperflash_id_table[] = { { .name = "rpc-if-hyperflash" }, - { /* sentinel */ } + { } }; MODULE_DEVICE_TABLE(platform, rpc_if_hyperflash_id_table); -- 2.53.0
