leds-ss4200: Check pci_enable_device return
authorDave Hansen <dave@sr71.net>
Wed, 14 Oct 2009 16:20:47 +0000 (09:20 -0700)
committerRichard Purdie <rpurdie@linux.intel.com>
Wed, 16 Dec 2009 11:30:09 +0000 (11:30 +0000)
commit09a46db05b2e07484c08c638d7d6bda0523a13a6
tree550fe0cb15b0da3c168edbc405e0d0fc9255a2f9
parent7f131cf3ed96c969d7b092bf629e25c3df50901e
leds-ss4200: Check pci_enable_device return

pci_enable_result is defined using the __must_check macro but
leds-ss4200 is not checking the return value.

Signed-off-by: Javier Martinez Canillas <martinez.javier@gmail.com>
Signed-off-by: Dave Hansen <dave@sr71.net>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
drivers/leds/leds-ss4200.c