All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] can: mcp251xfd: Align the table of comments
@ 2021-06-03 14:24 Fabio Estevam
  2021-06-07 15:01 ` Marc Kleine-Budde
  0 siblings, 1 reply; 3+ messages in thread
From: Fabio Estevam @ 2021-06-03 14:24 UTC (permalink / raw)
  To: mkl; +Cc: linux-can, Fabio Estevam

Align the table of comments for better readability.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c b/drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c
index 47c3f408a799..db07dd112603 100644
--- a/drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c
+++ b/drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c
@@ -2957,14 +2957,14 @@ static int mcp251xfd_probe(struct spi_device *spi)
 	 *
 	 * Known good combinations are:
 	 *
-	 * MCP	ext-clk	SoC			SPI			SPI-clk		max-clk	parent-clk	config
+	 * MCP		ext-clk SoC			SPI			SPI-clk	max-clk	parent-clk	config
 	 *
-	 * 2518	20 MHz	allwinner,sun8i-h3	allwinner,sun8i-h3-spi	 8333333 Hz	 83.33%	600000000 Hz	assigned-clocks = <&ccu CLK_SPIx>
-	 * 2518	40 MHz	allwinner,sun8i-h3	allwinner,sun8i-h3-spi	16666667 Hz	 83.33%	600000000 Hz	assigned-clocks = <&ccu CLK_SPIx>
-	 * 2517	40 MHz	atmel,sama5d27		atmel,at91rm9200-spi	16400000 Hz	 82.00%	 82000000 Hz	default
-	 * 2518	40 MHz	atmel,sama5d27		atmel,at91rm9200-spi	16400000 Hz	 82.00%	 82000000 Hz	default
-	 * 2518	40 MHz	fsl,imx6dl		fsl,imx51-ecspi		15000000 Hz	 75.00%	 30000000 Hz	default
-	 * 2517	20 MHz	fsl,imx8mm		fsl,imx51-ecspi		 8333333 Hz	 83.33%	 16666667 Hz	assigned-clocks = <&clk IMX8MM_CLK_ECSPIx_ROOT>
+	 * 2518	20 MHz	allwinner,sun8i-h3	allwinner,sun8i-h3-spi	8333333 Hz	83.33%		600000000 Hz	assigned-clocks = <&ccu CLK_SPIx>
+	 * 2518	40 MHz	allwinner,sun8i-h3	allwinner,sun8i-h3-spi	16666667 Hz	83.33%		600000000 Hz	assigned-clocks = <&ccu CLK_SPIx>
+	 * 2517	40 MHz	atmel,sama5d27		atmel,at91rm9200-spi	16400000 Hz	82.00%		82000000 Hz	default
+	 * 2518	40 MHz	atmel,sama5d27		atmel,at91rm9200-spi	16400000 Hz	82.00%		82000000 Hz	default
+	 * 2518	40 MHz	fsl,imx6dl		fsl,imx51-ecspi	15000000 Hz	75.00%		30000000 Hz	default
+	 * 2517	20 MHz	fsl,imx8mm		fsl,imx51-ecspi	8333333 Hz	83.33%		16666667 Hz	assigned-clocks = <&clk IMX8MM_CLK_ECSPIx_ROOT>
 	 *
 	 */
 	priv->spi_max_speed_hz_orig = spi->max_speed_hz;
-- 
2.25.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] can: mcp251xfd: Align the table of comments
  2021-06-03 14:24 [PATCH] can: mcp251xfd: Align the table of comments Fabio Estevam
@ 2021-06-07 15:01 ` Marc Kleine-Budde
  2021-06-07 16:27   ` Fabio Estevam
  0 siblings, 1 reply; 3+ messages in thread
From: Marc Kleine-Budde @ 2021-06-07 15:01 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: linux-can

[-- Attachment #1: Type: text/plain, Size: 584 bytes --]

On 03.06.2021 11:24:50, Fabio Estevam wrote:
> Align the table of comments for better readability.

My editor uses 1 tab = 8 spaces and it looks correct without the patch.
Have a look at:

| tps://elixir.bootlin.com/linux/v5.12/source/drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c#L2915

regards,
Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde           |
Embedded Linux                   | https://www.pengutronix.de  |
Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] can: mcp251xfd: Align the table of comments
  2021-06-07 15:01 ` Marc Kleine-Budde
@ 2021-06-07 16:27   ` Fabio Estevam
  0 siblings, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2021-06-07 16:27 UTC (permalink / raw)
  To: Marc Kleine-Budde; +Cc: linux-can

Hi Marc,

On Mon, Jun 7, 2021 at 12:01 PM Marc Kleine-Budde <mkl@pengutronix.de> wrote:
>
> On 03.06.2021 11:24:50, Fabio Estevam wrote:
> > Align the table of comments for better readability.
>
> My editor uses 1 tab = 8 spaces and it looks correct without the patch.
> Have a look at:
>
> | tps://elixir.bootlin.com/linux/v5.12/source/drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c#L2915

Oh, it is on my editor that it appears unaligned then. Sorry for the noise!

Cheers

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-07 16:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-03 14:24 [PATCH] can: mcp251xfd: Align the table of comments Fabio Estevam
2021-06-07 15:01 ` Marc Kleine-Budde
2021-06-07 16:27   ` Fabio Estevam

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.