Skip to content

Commit

Permalink
can: tcan4x5x: beautify indention of tcan4x5x_of_match and tcan4x5x_i…
Browse files Browse the repository at this point in the history
…d_table

This patch beautifies the indention of the tcan4x5x_of_match and
tcan4x5x_id_table.

Reviewed-by: Dan Murphy <dmurphy@ti.com>
Tested-by: Sean Nyekjaer <sean@geanix.com>
Link: https://lore.kernel.org/r/20201215231746.1132907-3-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
  • Loading branch information
Marc Kleine-Budde committed Jan 6, 2021
1 parent aa102ff commit bcc3d8e
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions drivers/net/can/m_can/tcan4x5x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit bcc3d8e

Please sign in to comment.