commit | 7c7d5b9a942eea5ae450487d47a95c1d0f9a4e64 | [log] [tgz] |
---|---|---|
author | Greg Kroah-Hartman <greg@kroah.com> | Tue Dec 23 15:16:51 2014 -0800 |
committer | Greg Kroah-Hartman <greg@kroah.com> | Tue Dec 23 21:02:20 2014 -0800 |
tree | 88829bf9cd18031233255c0ab3287fe7b8947750 | |
parent | 86cad66677942601941c2b516ece2f5741123eda [diff] |
greybus: protocol: switch gb_protocol_register() to return an int We will want to return this value as a return value for module_init() and bool does not play well with module_init(). So make it a "real" error value and return int and fix up all callers of the function. Reviewed-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>