[media] dib7000p: return error code on allocation failure
authorDan Carpenter <error27@gmail.com>
Sat, 6 Aug 2011 08:00:34 +0000 (05:00 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 3 Sep 2011 16:03:52 +0000 (13:03 -0300)
commit0c61cc3ba4c9b74cfdd6a1ee07492199ffdd9818
treefeedaa173d79e1d4884d9c569acf9fd1ba14f56b
parent8513e14457ad05c517f6f6f520c270a6eebf0472
[media] dib7000p: return error code on allocation failure

The goto needs to be moved after the assignment.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/dib7000p.c