hvc_dcc: don't ignore errors during initialization
authorTimur Tabi <timur@codeaurora.org>
Sat, 12 Sep 2015 17:44:38 +0000 (12:44 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 16:49:27 +0000 (17:49 +0100)
commit3d27070108216b5c689dd3d0bf3ac10ef88570f7
treef1e776a9f5b91c23b66569ddb908fef5bc3da3d6
parent9af92fbff3b06d75470717361076aa7bd097ff8b
hvc_dcc: don't ignore errors during initialization

hvc_instantiate() and hvc_alloc() return errors if they fail, so don't
ignore them.

Signed-off-by: Timur Tabi <timur@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/hvc/hvc_dcc.c