V4L/DVB (9093): gspca: Cleanup code and small changes.
authorErik Andren <erik.andren@gmail.com>
Fri, 3 Oct 2008 11:46:50 +0000 (08:46 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Oct 2008 11:37:13 +0000 (09:37 -0200)
commite293e599524f74532b0add53ddf80f10ff854598
treeec8306de58b273b79e507df183f0d9cec835ef5d
parentc109f8168f259ea1f1ab7009c6b99dbe8ea0e2b2
V4L/DVB (9093): gspca: Cleanup code and small changes.

- convert some #define to enum.
- remove some comments.
- return ENOMEM on memory allocation failure.

Signed-off-by: Erik Andren <erik.andren@gmail.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/gspca.c
drivers/media/video/gspca/gspca.h
drivers/media/video/gspca/m5602/m5602_core.c