Re: [PATCH] mtd: spi-nor: remove superfluous pass of nor->info->sector_size
From: Tudor.Ambarus
Date: Thu Aug 29 2019 - 06:48:20 EST
On 08/28/2019 01:35 PM, Tudor Ambarus - M18064 wrote:
> From: Tudor Ambarus <tudor.ambarus@xxxxxxxxxxxxx>
>
> We already pass a pointer to nor, we can obtain the sector_size
> by dereferencing it.
>
> Signed-off-by: Tudor Ambarus <tudor.ambarus@xxxxxxxxxxxxx>
> ---
> drivers/mtd/spi-nor/spi-nor.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git,
spi-nor/next branch.
Thanks,
ta