mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
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>
This commit is contained in:
parent
86cad66677
commit
7c7d5b9a94
10 changed files with 33 additions and 31 deletions
Loading…
Add table
Add a link
Reference in a new issue