]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: dw_mmc: convert the variable type of irq
authorSeungwon Jeon <tgih.jun@samsung.com>
Fri, 28 Sep 2012 05:21:59 +0000 (14:21 +0900)
committerChris Ball <cjb@laptop.org>
Tue, 23 Oct 2012 20:46:53 +0000 (16:46 -0400)
commit6c7d96965534e2ffa405e4b50b4a76cf2e9f3ad3
treeb1986bef19cbd64159cf98490303b4b9159309db
parentb35a5c58b318add02395e6078996e8c122f18186
mmc: dw_mmc: convert the variable type of irq

Even though platform_get_irq returns error, 'host->irq'
always has an unsigned value. Less-than-zero comparison
of an unsigned value is never true. Type of 'unsigned int'
will be changed for 'int'.

Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
Acked-by: Will Newton <will.newton@imgtec.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
include/linux/mmc/dw_mmc.h