]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3ed4db56b50a27af76c51e4748e10e5db78c87b1
treebb25024982ae008bab662e8f94dacdae1dabc7d8
parent2f9dcfa2a3546749a0d841ae43209b440e25ce57
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