commit | 47a401a8aec98b152e328858bbb4406c7e3b61e1 | [log] [tgz] |
---|---|---|
author | David Matlack <matlackdavid@gmail.com> | Thu May 22 21:38:45 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri May 23 20:16:40 2014 +0900 |
tree | 9678eaa1975d052d583dd8c4cf4b767d31d2a5e4 | |
parent | 28277a55fd8e9d0c53647734d824a6bf7ba92e04 [diff] |
staging: slicoss: handle errors from slic_config_get slic_config_get() can fail. Change the return type from void to int and handle the error in slic_card_init(). So now, instead of silently failing (and then timing out waiting for the config data), the driver will fail loudly at request time. Signed-off-by: David Matlack <matlackdavid@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>