console: Fix console_unregister() signature
authorJulius Werner <jwerner@chromium.org>
Tue, 4 Dec 2018 01:01:30 +0000 (17:01 -0800)
committerJulius Werner <jwerner@chromium.org>
Fri, 7 Dec 2018 00:10:36 +0000 (16:10 -0800)
commit0f8aee4e45d3e74f5ebb385c8afcdee6c3b4c73a
tree586f6b4870e269ae21d0a694102fc9d66a0b3b3d
parent63c52d0071ef4f9252f073fc3ee30fa1b2b2cf90
console: Fix console_unregister() signature

console_unregister() has always returned a pointer to the console that
was removed on success, not just an integer. Fix the C prototype to
match the assembly implementation.

Change-Id: Iafc43de0767a5c87c9ae5c3aba53761dd28d51e6
Signed-off-by: Julius Werner <jwerner@chromium.org>
include/drivers/console.h