mfd: check for platform_get_irq() return value in sm501
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 21 Oct 2008 23:39:55 +0000 (01:39 +0200)
committerSamuel Ortiz <samuel@sortiz.org>
Tue, 21 Oct 2008 23:39:55 +0000 (01:39 +0200)
commit7cf5244ce4a0ab3f043f2e9593e07516b0df5715
tree586b307509d611f1b37c4b1af7a6694109f8e3b5
parent7ab18995e11089ea33c99fd586e8bad4932369e4
mfd: check for platform_get_irq() return value in sm501

sm501_devdata->irq is unsigned, while platform_get_irq() returns a
signed int.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
drivers/mfd/sm501.c