staging/mei: refactor mei_wd_host_init function
authorTomas Winkler <tomas.winkler@intel.com>
Tue, 3 Apr 2012 20:34:58 +0000 (23:34 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Apr 2012 16:38:49 +0000 (09:38 -0700)
commit9487eb0a1588b8d759f7231c7aa44893525769b2
treebb25024982ae008bab662e8f94dacdae1dabc7d8
parentc38ea24e22e8c416d4a2b13355a546b5916ae296
staging/mei: refactor mei_wd_host_init function

The function has returned false in both error and success
cases.

1. change return value to int and return appropriate errno
2. use typical Linux kernel error handling.
3. normalize debug messages

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mei/interface.h
drivers/staging/mei/wd.c
This page took 0.057293 seconds and 5 git commands to generate.