From: Michael Hennerich Date: Mon, 26 Apr 2010 08:36:36 +0000 (+0200) Subject: Staging: iio: iio-trig-gpio: Remove redundant gpio_request X-Git-Tag: v2.6.35-rc1~441^2^2~420 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a05d7ce36c55bc6496e1085584c9df901b899ab2;p=pandora-kernel.git Staging: iio: iio-trig-gpio: Remove redundant gpio_request Remove redundant gpio_request: The GPIO used as trigger IRQ, is also requested as gpio, but actually never read. Use platform resource facility to get IRQs numbers and flags. Make sure this driver can be used with any system IRQ, not necessarily limited to GPIO-IRQs. Use dev_err(dev...) and friends instead of printk(KERN_ERR...) Signed-off-by: Michael Hennerich Acked-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed