Skip to content

Commit

Permalink
[ARM] 3565/1: AT91RM9200 MMC update
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrew Victor authored and Russell King committed Jun 19, 2006
1 parent a3fd4a1 commit b44fb7a
Showing 1 changed file with 65 additions and 74 deletions.
Loading

0 comments on commit b44fb7a

Please sign in to comment.