diff options
author | Jesper Nilsson <jesper.nilsson@axis.com> | 2008-01-25 15:42:41 +0100 |
---|---|---|
committer | Jesper Nilsson <jesper.nilsson@axis.com> | 2008-02-08 11:06:34 +0100 |
commit | 45a4127c10abff5edce4448c7bc951d0a112e67a (patch) | |
tree | ce08e42dff601a450a5e0d22572d6376d0789438 /drivers/video | |
parent | 46aac058fe525a2a659e3363fa9bcd7d6bbf2d73 (diff) |
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.
Diffstat (limited to 'drivers/video')
0 files changed, 0 insertions, 0 deletions