pnpbios: propagate kthread_run() error
authorErik Ekman <erik@kryo.se>
Thu, 2 Apr 2009 23:57:09 +0000 (16:57 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 3 Apr 2009 02:04:52 +0000 (19:04 -0700)
commitb277c884f7856ce0791b1e72079023a86767981b
tree583eee77a6ebc27efb8cd4e01fd21befcc27ffa0
parent8c655918b15691d3a97f4e9a7c3c0a6ac992e297
pnpbios: propagate kthread_run() error

- Error code from kthread_run() is now returned in pnpbios_thread_init()

- Remove variable which always was 0.

Signed-off-by: Erik Ekman <erik@kryo.se>
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/pnp/pnpbios/core.c