Re: [U-Boot] [PATCH RFT] gpio: lpc32xx: Use priv data instead of platdata

2015-04-13 Thread Albert ARIBAUD
Hi Axel, Le Tue, 14 Apr 2015 08:30:03 +0800, Axel Lin a écrit : > 2015-04-13 16:41 GMT+08:00 Albert ARIBAUD : > > Hi Axel, > > > > Le Sat, 11 Apr 2015 10:20:08 +0800, Axel Lin a > > écrit : > > > >> Initially I found this driver has set priv_auto_alloc_size but it actually > >> never use dev->p

Re: [U-Boot] [PATCH RFT] gpio: lpc32xx: Use priv data instead of platdata

2015-04-13 Thread Axel Lin
2015-04-13 16:41 GMT+08:00 Albert ARIBAUD : > Hi Axel, > > Le Sat, 11 Apr 2015 10:20:08 +0800, Axel Lin a > écrit : > >> Initially I found this driver has set priv_auto_alloc_size but it actually >> never use dev->priv. The U_BOOT_DEVICE(lpc32xx_gpios) does not provide the >> platdata and all fiel

Re: [U-Boot] [PATCH RFT] gpio: lpc32xx: Use priv data instead of platdata

2015-04-13 Thread Albert ARIBAUD
Hi Axel, Le Sat, 11 Apr 2015 10:20:08 +0800, Axel Lin a écrit : > Initially I found this driver has set priv_auto_alloc_size but it actually > never use dev->priv. The U_BOOT_DEVICE(lpc32xx_gpios) does not provide the > platdata and all fields in struct lpc32xx_gpio_platdata are set in probe. >

[U-Boot] [PATCH RFT] gpio: lpc32xx: Use priv data instead of platdata

2015-04-10 Thread Axel Lin
Initially I found this driver has set priv_auto_alloc_size but it actually never use dev->priv. The U_BOOT_DEVICE(lpc32xx_gpios) does not provide the platdata and all fields in struct lpc32xx_gpio_platdata are set in probe. It looks like the struct lpc32xx_gpio_platdata actually should be a priv da