Re: [PATCH] gpio/ml_ioh_gpio: ML7213 GPIO driver

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Monday, January 3, 2011 - 2:40 pm

On Thu, 23 Dec 2010 20:58:44 +0900
Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com> wrote:


	chip = chip_save;
	for (i = 0; i < 8; i++, chip++) {

is simpler, and simpler is better.


Here we should run gpiochip_remove() against chips 0 .. i-1, no?


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] gpio/ml_ioh_gpio: ML7213 GPIO driver, Tomoya MORINAGA, (Thu Dec 23, 4:58 am)
Re: [PATCH] gpio/ml_ioh_gpio: ML7213 GPIO driver, Andrew Morton, (Mon Jan 3, 2:40 pm)