Re: [v3] mtd: m25p80: Modify the name of mtd_info

2014-04-15 Thread Brian Norris
On Sat, Mar 22, 2014 at 1:55 AM, Hou Zhiqiang wrote: > v3: > Fix a bug, matching unsigned long long with "%llx". > v2: > 1. Fix some code style issue. > 2. Cast physical address to unsigned long long. I missed v2 and v3 and commented on v1 instead, sorry. Same comments app

[v3] mtd: m25p80: Modify the name of mtd_info

2014-03-22 Thread Hou Zhiqiang
To specify spi flash layouts by "mtdparts=..." in cmdline, we must give mtd_info a fixed name,because the cmdlinepart's parser will match the name of mtd_info given in cmdline. Now, if use DT, the mtd_info's name will be spi->dev->name. It consists of spi_master->bus_num, and the spi_master->bus_nu