linux_dsm_epyc7002/drivers/media/dvb/siano
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
..
Kconfig [media] rc: rename the remaining things to rc_core 2010-12-29 08:16:50 -02:00
Makefile [media] drivers/media: do not use EXTRA_CFLAGS 2011-09-03 18:50:59 -03:00
sms-cards.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
sms-cards.h V4L/DVB: sms: Convert IR support to use the Remote Controller core 2010-08-02 16:43:56 -03:00
smscoreapi.c Revert "[media] siano: apply debug flag to module level" 2011-09-26 16:50:14 -03:00
smscoreapi.h Revert "[media] siano: apply debug flag to module level" 2011-09-26 16:50:14 -03:00
smsdvb.c [media] dvb: don't require a parameter for get_frontend 2011-12-31 10:28:23 -02:00
smsendian.c drivers/media: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required 2011-10-31 19:31:51 -04:00
smsendian.h V4L/DVB (11892): Siano: smsendian - declare function as extern 2009-06-16 19:14:43 -03:00
smsir.c [media] rc: Rename remote controller type to rc_type instead of ir_type 2010-12-29 08:16:50 -02:00
smsir.h [media] rc: rename the remaining things to rc_core 2010-12-29 08:16:50 -02:00
smssdio.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
smsusb.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00