[media] dvb_usb_v2: use identify_state() to resolve firmware name
authorAntti Palosaari <crope@iki.fi>
Tue, 19 Jun 2012 02:42:53 +0000 (23:42 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 4 Aug 2012 10:56:36 +0000 (07:56 -0300)
commita0921af7eb2eced1639fc1e1befdf703e7bec95a
treef284c5b1fbef5987c75d3b70e803aa28623d084f
parentb905a2a13307035a4a5c9a93a3607e51e6736db2
[media] dvb_usb_v2: use identify_state() to resolve firmware name

Merge get_firmware_name() to identify_state().

It is wise to resolve firmware name in that routine as it does
decision wether or not to load firmware at all. It is one very
rarely needed callback less.

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