led_class: fix typo in blink API

When I added led_blink_set I had a typo: the return value of the hw
offload is a regular error code that is zero when succesful, and in that
case software emulation should not be used, rather than the other way
around.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Cc: Richard Purdie <rpurdie@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Johannes Berg and committed by Linus Torvalds 91facc22 5a2d6e31

+1 -1
+1 -1
drivers/leds/led-class.c
··· 267 267 unsigned long *delay_off) 268 268 { 269 269 if (led_cdev->blink_set && 270 - led_cdev->blink_set(led_cdev, delay_on, delay_off)) 270 + !led_cdev->blink_set(led_cdev, delay_on, delay_off)) 271 271 return; 272 272 273 273 /* blink with 1 Hz as default if nothing specified */