diff options
author | Andrew Victor <andrew@sanpeople.com> | 2006-06-19 16:06:05 +0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-06-19 16:06:05 +0400 |
commit | b44fb7a09e6bb7d77c1b4b402591f6f953c1e51c (patch) | |
tree | 8460db80ce3d5f50cfdeeabc6425a457813ad6ac /lib/dec_and_lock.c | |
parent | a3fd4a1b9ced850ac1a9d5bb9f8fab494d07f3fa (diff) | |
download | linux-b44fb7a09e6bb7d77c1b4b402591f6f953c1e51c.tar.xz |
[ARM] 3565/1: AT91RM9200 MMC update
Patch from Andrew Victor
This patch includes code cleanups and minor fixes to the AT91RM9200 MMC
driver.
1. Replace calls to DBG() with pr_debug().
2. 'host' can never be null, so don't bother checking for that case.
3. Remove SA_SAMPLE_RANDOM from request_irq(). [Patch from Matt
Mackall]
4. clk_get() doesn't return NULL on error - need to test returned value
with IS_ERR().
5. Free resources if clk_get() or request_irq() fails.
Signed-off-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'lib/dec_and_lock.c')
0 files changed, 0 insertions, 0 deletions