Messages in this thread | | | From | <> | Subject | Re: [PATCH] mtd: spi-nor: remove superfluous pass of nor->info->sector_size | Date | Thu, 29 Aug 2019 10:48:14 +0000 |
| |
On 08/28/2019 01:35 PM, Tudor Ambarus - M18064 wrote: > From: Tudor Ambarus <tudor.ambarus@microchip.com> > > We already pass a pointer to nor, we can obtain the sector_size > by dereferencing it. > > Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.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
| |