leds: 88pm860x - fix checking in probe function
commit98652efceab8f0b1a3a1b2750544a395ec056115
authorChristoph Fritz <chf.fritz@googlemail.com>
Sat, 17 Apr 2010 11:57:17 +0000 (17 13:57 +0200)
committerRichard Purdie <rpurdie@linux.intel.com>
Wed, 26 May 2010 12:07:54 +0000 (26 13:07 +0100)
tree9d2cbdcef2edaa14691ad07881611320ceaeb309
parentb1cdc4670b9508fcd47a15fbd12f70d269880b37
leds: 88pm860x - fix checking in probe function

Improve device and platform data checks in probe function.

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
drivers/leds/leds-88pm860x.c