From: Antti Palosaari Date: Sat, 16 Jun 2012 00:17:04 +0000 (-0300) Subject: [media] dvb_usb_v2: .read_mac_address() callback changes X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~3^2^2~624 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddee56943ab6df098e411fe943c2a52063fba0a5;p=pandora-kernel.git [media] dvb_usb_v2: .read_mac_address() callback changes Give DVB adapter as a parameter for callback. MAC address is adapter property and it could be (at least in theory) there is devices having multiple adapters and all has own MAC. Also add error handling. If callback fails error is returned which leads device unregister. Signed-off-by: Antti Palosaari Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed