led_class: fix typo in blink API
authorJohannes Berg <johannes.berg@intel.com>
Wed, 22 Dec 2010 01:24:28 +0000 (17:24 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 23 Dec 2010 03:43:34 +0000 (19:43 -0800)
commit91facc22dec964683aef88f5620a790a6e46b98a
tree0bd60c77f6efc174ae99209b4e8b008d241d53ac
parent5a2d6e31c683b361b5012aec1768c994fea3f25a
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>
drivers/leds/led-class.c