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>
This commit is contained in:
Erik Andren 2008-10-03 08:46:50 -03:00 committed by Mauro Carvalho Chehab
commit e293e59952
3 changed files with 11 additions and 14 deletions