staging: tidspbridge: pmgr: dspapi.c: Cleaning up uninitialized variable
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Tue, 3 Jun 2014 22:23:39 +0000 (00:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jun 2014 22:22:37 +0000 (15:22 -0700)
commitcee49b3cfb4be8da81b346c9ed405cc5bae056c6
treef29e248fe67ff67d87edd75d1481c521a1694462
parentf4a8f5288929e11c0e393d14e59eee1cca2c8ae4
staging: tidspbridge: pmgr: dspapi.c: Cleaning up uninitialized variable

There is a risk that the variables will be used without being initialized.
Has also improved error handling, after an email proposal from Dan Carpenter.

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/tidspbridge/pmgr/dspapi.c