[PATCH v6 077/102] mtd: spi: Export spi_flash_std_probe()

2019-12-06 Thread Simon Glass
With of-platdata we need to create drivers for particular chips, or at least drivers that are separate from the standard code, since C structures are created by dtoc which are private to that driver. To avoid duplicating the probing code, export this probe function for use by these drivers. Signe

Re: [PATCH v6 077/102] mtd: spi: Export spi_flash_std_probe()

2019-12-07 Thread Bin Meng
On Sat, Dec 7, 2019 at 12:52 PM Simon Glass wrote: > > With of-platdata we need to create drivers for particular chips, or at > least drivers that are separate from the standard code, since C structures > are created by dtoc which are private to that driver. > > To avoid duplicating the probing co