[media] dvb_usb_v2: pass device name too using (struct usb_device_id)
authorAntti Palosaari <crope@iki.fi>
Thu, 24 May 2012 23:00:28 +0000 (20:00 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 4 Aug 2012 10:56:21 +0000 (07:56 -0300)
commit7dfd1242aa54f3246cf6f87158e2e14f0336b73d
tree847086f536060e1526f1ac1fede9bb9121131b7a
parent4e60d951eaea98d400df5915429b7c78da2ec4c3
[media] dvb_usb_v2: pass device name too using (struct usb_device_id)

Pass all the needed data to the DVB USB core using
(struct usb_device_id) .driver_info. That simplifies
old code a lot and saves memory as all device IDs and
names are not defined inside (struct dvb_usb_device_properties)
as earlier.

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_i2c.c
drivers/media/dvb/dvb-usb/dvb_usb_init.c