[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <65f562ba-485a-4f88-ff6c-5d5643943b38@microchip.com>
Date: Thu, 29 Aug 2019 10:48:14 +0000
From: <Tudor.Ambarus@...rochip.com>
To: <marek.vasut@...il.com>, <vigneshr@...com>,
<miquel.raynal@...tlin.com>, <richard@....at>,
<linux-mtd@...ts.infradead.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] mtd: spi-nor: remove superfluous pass of
nor->info->sector_size
On 08/28/2019 01:35 PM, Tudor Ambarus - M18064 wrote:
> From: Tudor Ambarus <tudor.ambarus@...rochip.com>
>
> We already pass a pointer to nor, we can obtain the sector_size
> by dereferencing it.
>
> Signed-off-by: Tudor Ambarus <tudor.ambarus@...rochip.com>
> ---
> 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
Powered by blists - more mailing lists