[media] cx231xx: simplify argument passing to cx231xx_init_dev()
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 7 Jan 2012 12:52:40 +0000 (09:52 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 11 Jan 2012 00:38:45 +0000 (22:38 -0200)
commit15cb6af8ac1ee1291f98bae51cd46c6719e90c0f
tree88a5b4c267fc460ff760b1fb85d3cdc7e35282ae
parent9e94136d364a424b53048031bd35a4261ae8f9e2
[media] cx231xx: simplify argument passing to cx231xx_init_dev()

The 'struct cx231xx *' pointer was passed by reference to the
cx231xx_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/cx231xx/cx231xx-cards.c