Re: [U-Boot] [PATCH 08/69] gpio: Use const where possible

2016-03-10 Thread Bin Meng
On Fri, Mar 11, 2016 at 11:45 AM, Bin Meng wrote: > On Mon, Mar 7, 2016 at 10:27 AM, Simon Glass wrote: >> Some functions do not change the struct gpio_desc parameter. Update these to >> use const so this is clear. >> >> Signed-off-by: Simon Glass >> --- >> >> drivers/gpio/gpio-uclass.c | 10 ++

Re: [U-Boot] [PATCH 08/69] gpio: Use const where possible

2016-03-10 Thread Bin Meng
On Mon, Mar 7, 2016 at 10:27 AM, Simon Glass wrote: > Some functions do not change the struct gpio_desc parameter. Update these to > use const so this is clear. > > Signed-off-by: Simon Glass > --- > > drivers/gpio/gpio-uclass.c | 10 +- > include/asm-generic/gpio.h | 10 +- > 2