]> git.baikalelectronics.ru Git - kernel.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>
Wed, 7 Nov 2012 19:50:16 +0000 (14:50 -0500)
commit56a12d43b12bddeea0eaba093809a8475e814875
tree91637c2ddf6004337629587049a7f14ff44fcccd
parent0d577442d51c1c4ffe9f108f9f6058d85b2c42c9
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