Re: [U-Boot] [PATCH v7 08/34] sf: Use flash function pointers in dm_spi_flash_ops

2015-12-03 Thread Jagan Teki
Hi Simon, On 26 November 2015 at 23:20, Simon Glass wrote: > Hi Jagan, > > On 26 November 2015 at 04:03, Jagan Teki wrote: >> flash operations are defined as static and reuse them >> with function-pointers so call them with generic >> function pounters instead of calling like normal functions. >

Re: [U-Boot] [PATCH v7 08/34] sf: Use flash function pointers in dm_spi_flash_ops

2015-11-26 Thread Simon Glass
Hi Jagan, On 26 November 2015 at 04:03, Jagan Teki wrote: > flash operations are defined as static and reuse them > with function-pointers so call them with generic > function pounters instead of calling like normal functions. > > Signed-off-by: Jagan Teki > --- > drivers/mtd/spi/sf_ops.c |