[media] staging: easycap: Split device struct alloc and retrieval code
authorEzequiel García <elezegarcia@gmail.com>
Fri, 24 Feb 2012 14:24:14 +0000 (11:24 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 15 May 2012 11:53:46 +0000 (08:53 -0300)
commitab019fd41d993911ba32db0204bb1233682705ee
tree1635ffc06f9ca904be58fbec5e55c5b579b85b6e
parentad3537b56742848743aa11d42ccc1d336682bd5b
[media] staging: easycap: Split device struct alloc and retrieval code

When the device is probed a driver struct is either
allocated or retrieved.
This operation is logically splitted in several functions.

Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/easycap/easycap_main.c