]> git.karo-electronics.de Git - linux-beck.git/commit
[media] dvb_usb_v2: use container_of() for adapter to device
authorAntti Palosaari <crope@iki.fi>
Mon, 18 Jun 2012 23:09:07 +0000 (20:09 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 4 Aug 2012 10:56:36 +0000 (07:56 -0300)
commitec0dd2f20cb46c3c1fb8a746983c1fe395fd4af3
treee284d75d0423a77cfe6300ae54830fd5b2676a7b
parent2731d4ed77e3a58cd44584e3741c8f3e30956e9b
[media] dvb_usb_v2: use container_of() for adapter to device

We dont need that pointer as we can use container_of() macro thus
remove it.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/dvb_usb.h
drivers/media/dvb/dvb-usb/dvb_usb_dvb.c
drivers/media/dvb/dvb-usb/dvb_usb_init.c