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

Pratyush Yadav pratyush at kernel.org
Sun Nov 6 14:48:02 PST 2022


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 at gmx.net>

Acked-by: Pratyush Yadav <pratyush at 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
> 

-- 
Regards,
Pratyush Yadav



More information about the linux-mtd mailing list