Re: [PATCH 1/9] mmc: tmio: add tmio_mmc_host_alloc/free()

2015-01-05 Thread Kuninori Morimoto
Hi Geert > > -int tmio_mmc_host_probe(struct tmio_mmc_host **host, > > - struct platform_device *pdev, > > - struct tmio_mmc_data *pdata) > > +struct tmio_mmc_host* > > +tmio_mmc_host_alloc(struct platform_device *pdev) > > I think

Re: [PATCH 1/9] mmc: tmio: add tmio_mmc_host_alloc/free()

2015-01-05 Thread Geert Uytterhoeven
Hi Morimoto-san, On Mon, Jan 5, 2015 at 8:02 AM, Kuninori Morimoto wrote: > --- a/drivers/mmc/host/tmio_mmc_pio.c > +++ b/drivers/mmc/host/tmio_mmc_pio.c > @@ -1054,12 +1054,35 @@ static void tmio_mmc_of_parse(struct platform_device > *pdev, > pdata->flags |= TMIO_MMC_WRPROTECT_D

[PATCH 1/9] mmc: tmio: add tmio_mmc_host_alloc/free()

2015-01-04 Thread Kuninori Morimoto
From: Kuninori Morimoto Current tmio_mmc driver is using tmio_mmc_data for driver/platform specific data/callback, and it is needed for tmio_mmc_host_probe() function. Because of this style, include/linux/mfd/tmio.h header has tmio driver/framework specific data which is not needed from platform.