mtd: spi-nor: Fix formatting in spi_nor_read_raw() kerneldoc comment

Message ID 20221101162906.990125-1-j.neuschaefer@gmx.net
State New
Headers
Series mtd: spi-nor: Fix formatting in spi_nor_read_raw() kerneldoc comment |

Commit Message

Jonathan Neuschäfer Nov. 1, 2022, 4:29 p.m. UTC
  It doesn't make sense to put "set" on its own line like that.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
---
 drivers/mtd/spi-nor/sfdp.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--
2.35.1
  

Comments

Pratyush Yadav Nov. 6, 2022, 10:48 p.m. UTC | #1
On 01/11/22 05:29PM, Jonathan Neuschäfer wrote:
> It doesn't make sense to put "set" on its own line like that.
> 
> Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>

Acked-by: Pratyush Yadav <pratyush@kernel.org>

> ---
>  drivers/mtd/spi-nor/sfdp.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/drivers/mtd/spi-nor/sfdp.c b/drivers/mtd/spi-nor/sfdp.c
> index 2257f1b4c2e2d..3e0bb383ab8e2 100644
> --- a/drivers/mtd/spi-nor/sfdp.c
> +++ b/drivers/mtd/spi-nor/sfdp.c
> @@ -135,8 +135,7 @@ struct sfdp_4bait {
>  /**
>   * spi_nor_read_raw() - raw read of serial flash memory. read_opcode,
>   *			addr_nbytes and read_dummy members of the struct spi_nor
> - *			should be previously
> - * set.
> + *			should be previously set.
>   * @nor:	pointer to a 'struct spi_nor'
>   * @addr:	offset in the serial flash memory
>   * @len:	number of bytes to read
> --
> 2.35.1
>
  
Tudor Ambarus Nov. 21, 2022, 1:54 p.m. UTC | #2
On Tue, 1 Nov 2022 17:29:06 +0100, Jonathan Neuschäfer wrote:
> It doesn't make sense to put "set" on its own line like that.
> 
> 

Applied to spi-nor/next, thanks!

[1/1] mtd: spi-nor: Fix formatting in spi_nor_read_raw() kerneldoc comment
      https://git.kernel.org/mtd/c/270450a1b6d8

Best regards,
  

Patch

diff --git a/drivers/mtd/spi-nor/sfdp.c b/drivers/mtd/spi-nor/sfdp.c
index 2257f1b4c2e2d..3e0bb383ab8e2 100644
--- a/drivers/mtd/spi-nor/sfdp.c
+++ b/drivers/mtd/spi-nor/sfdp.c
@@ -135,8 +135,7 @@  struct sfdp_4bait {
 /**
  * spi_nor_read_raw() - raw read of serial flash memory. read_opcode,
  *			addr_nbytes and read_dummy members of the struct spi_nor
- *			should be previously
- * set.
+ *			should be previously set.
  * @nor:	pointer to a 'struct spi_nor'
  * @addr:	offset in the serial flash memory
  * @len:	number of bytes to read