mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
greybus: core: return error code when creating host device
Return a pointer-coded error from greybus_create_hd() rather than NULL in the event an error occurs. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
parent
6b7d5a1f47
commit
8ea70fe049
3 changed files with 7 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue