kernel_optimize_test/drivers/media/dvb
Mauro Carvalho Chehab 7c61d80a9b [media] dvb: don't require a parameter for get_frontend
Just like set_frontend, use the dvb cache properties for get_frontend.
This is more consistent, as both functions are now symetric. Also,
at the places get_frontend is called, it makes sense to update the
cache.

Most of this patch were generated by this small perl script:

	while (<>) { $file .= $_; }
	if ($file =~ m/\.get_frontend\s*=\s*([\d\w_]+)/) {
		my $get = $1;
		$file =~ s/($get)(\s*\([^\,\)]+)\,\s*struct\s+dtv_frontend_properties\s*\*\s*([_\d\w]+)\)\s*\{/\1\2)\n{\n\tstruct dtv_frontend_properties *\3 = &fe->dtv_property_cache;/g;
	}
	print $file;

Of course, the changes at dvb_frontend.[ch] were made by hand,
as well as the changes on a few other places, where get_frontend()
is called internally inside the driver.

On some places, get_frontend() were just a void function. Those
occurrences were removed, as the DVB core handles such cases.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-12-31 10:28:23 -02:00
..
b2c2 [media] drivers/media: do not use EXTRA_CFLAGS 2011-09-03 18:50:59 -03:00
bt8xx [media] dvb: don't require a parameter for get_frontend 2011-12-31 10:28:23 -02:00
ddbridge staging: Move media drivers to staging/media 2011-11-03 07:59:03 -02:00
dm1105 [media] drivers/media: do not use EXTRA_CFLAGS 2011-09-03 18:50:59 -03:00
dvb-core [media] dvb: don't require a parameter for get_frontend 2011-12-31 10:28:23 -02:00
dvb-usb [media] dvb: don't require a parameter for get_frontend 2011-12-31 10:28:23 -02:00
firewire [media] dvb: don't require a parameter for get_frontend 2011-12-31 10:28:23 -02:00
frontends [media] dvb: don't require a parameter for get_frontend 2011-12-31 10:28:23 -02:00
mantis [media] tuners: remove dvb_frontend_parameters from set_params() 2011-12-31 08:57:29 -02:00
ngene staging: Move media drivers to staging/media 2011-11-03 07:59:03 -02:00
pluto2 [media] tuners: remove dvb_frontend_parameters from set_params() 2011-12-31 08:57:29 -02:00
pt1 [media] dvb-core: Don't pass DVBv3 parameters on tune() fops 2011-12-31 10:08:46 -02:00
siano [media] dvb: don't require a parameter for get_frontend 2011-12-31 10:28:23 -02:00
ttpci [media] av7110: convert set_fontend to use DVBv5 parameters 2011-12-31 09:15:04 -02:00
ttusb-budget [media] tuners: remove dvb_frontend_parameters from set_params() 2011-12-31 08:57:29 -02:00
ttusb-dec [media] ttusb-dec: convert set_fontend to use DVBv5 parameters 2011-12-31 09:57:52 -02:00
Kconfig [media] ddbridge: Allow compiling of the driver 2011-07-27 17:55:45 -03:00
Makefile [media] ddbridge: Allow compiling of the driver 2011-07-27 17:55:45 -03:00