Re: [PATCH v2 3/6] mtd: spi-nor: Stop passing info to set_4byte()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 11/29/2018 04:10 PM, Boris Brezillon wrote:
> info can be extracted from nor->info, no need to pass it as an
> argument.

Nice! If you move the assignment nor->info = info; earlier in spi_nor_scan(),
you'll be able to spare more functions to pass info as argument.

Cheers,
ta
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux