[media] em28xx: simplify argument passing to em28xx_init_dev()
commit622c2fc1f2613bef953d2af908e7b83f4de4b994
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 7 Jan 2012 13:18:45 +0000 (7 10:18 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 11 Jan 2012 00:46:48 +0000 (10 22:46 -0200)
tree691a1c3ac3c54ef8e422dc55eeb9d0913951dec5
parentd07b901f9dc22977c2c04f320a9cef19e5298e7e
[media] em28xx: simplify argument passing to em28xx_init_dev()

The 'struct em28xx *' pointer was passed by reference to the
em28xx_init_dev() function, for no reason. Instead, just pass it by
value, which is much more logical and simple.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-cards.c