From: Jesper Nilsson Date: Fri, 25 Jan 2008 14:42:41 +0000 (+0100) Subject: CRIS v10: Update drivers/gpio.c, fix locking and general improvements. X-Git-Tag: v2.6.25-rc1~40^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45a4127c10abff5edce4448c7bc951d0a112e67a;p=pandora-kernel.git CRIS v10: Update drivers/gpio.c, fix locking and general improvements. - Change all spin_lock/local_irq_save to spin_lock_irqsave. - Change multiple returns in functions where we have a lock to goto out. - Correct number of arguments to gpio_poll_timer_interrupt, gpio_pa_interrupt. - Break out gpio_write logic to smaller functions to make it readable. - In setget_input and setget_output, avoid extra if-indent level. - Change name LED_* -> CRIS_LED_* to avoid name clash. - Don't use braces around single statement ifs. - Fix whitespace errors. - Remove useless CVS id and log. --- Reading git-diff-tree failed