From: Marc Kleine-Budde Date: Tue, 15 Dec 2020 23:17:32 +0000 (+0100) Subject: can: tcan4x5x: beautify indention of tcan4x5x_of_match and tcan4x5x_id_table X-Git-Tag: v5.15~1802^2~402^2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bcc3d8ef14c044df225d9e2292ed3f1d5176c77d;p=platform%2Fkernel%2Flinux-starfive.git can: tcan4x5x: beautify indention of tcan4x5x_of_match and tcan4x5x_id_table This patch beautifies the indention of the tcan4x5x_of_match and tcan4x5x_id_table. Reviewed-by: Dan Murphy Tested-by: Sean Nyekjaer Link: https://lore.kernel.org/r/20201215231746.1132907-3-mkl@pengutronix.de Signed-off-by: Marc Kleine-Budde --- diff --git a/drivers/net/can/m_can/tcan4x5x.c b/drivers/net/can/m_can/tcan4x5x.c index 1b5f706..1b47c9d 100644 --- a/drivers/net/can/m_can/tcan4x5x.c +++ b/drivers/net/can/m_can/tcan4x5x.c @@ -527,17 +527,20 @@ static int tcan4x5x_can_remove(struct spi_device *spi) } static const struct of_device_id tcan4x5x_of_match[] = { - { .compatible = "ti,tcan4x5x", }, - { } + { + .compatible = "ti,tcan4x5x", + }, { + /* sentinel */ + }, }; MODULE_DEVICE_TABLE(of, tcan4x5x_of_match); static const struct spi_device_id tcan4x5x_id_table[] = { { - .name = "tcan4x5x", - .driver_data = 0, + .name = "tcan4x5x", + }, { + /* sentinel */ }, - { } }; MODULE_DEVICE_TABLE(spi, tcan4x5x_id_table);