gpio-ml-ioh: fix a bug in the interrupt handler
authorFeng Tang <feng.tang@intel.com>
Tue, 13 Dec 2011 15:53:49 +0000 (23:53 +0800)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 13 Dec 2011 18:05:17 +0000 (11:05 -0700)
commitf9ea14efa5277c47efec341dee2c408b6b80f854
treef81e7113a509893ef0a670445537900fcf3ca527
parentb2888095feb3c651cba5904b0227622e82777b34
gpio-ml-ioh: fix a bug in the interrupt handler

GPIO's irq action's dev_id is set to the first struct ioh_gpio chip,
so when loop checking the 8 chips, the "chip" should be changed
according.

Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/gpio-ml-ioh.c