[ARM] 3565/1: AT91RM9200 MMC update
authorAndrew Victor <andrew@sanpeople.com>
Mon, 19 Jun 2006 12:06:05 +0000 (13:06 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 19 Jun 2006 12:06:05 +0000 (13:06 +0100)
commitb44fb7a09e6bb7d77c1b4b402591f6f953c1e51c
tree8460db80ce3d5f50cfdeeabc6425a457813ad6ac
parenta3fd4a1b9ced850ac1a9d5bb9f8fab494d07f3fa
[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>
drivers/mmc/at91_mci.c