diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-03-08 13:47:38 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-05-04 10:54:39 -0400 |
commit | 2c7e3ca8fb1b5cda5387686e2da2931ec62b1ada (patch) | |
tree | 68f7a3f9f4deabb4a314625d512419e8f9733751 /arch/openrisc/kernel | |
parent | edcc30820bec5533d9cbd39f47cff1b5800aed39 (diff) | |
download | linux-2c7e3ca8fb1b5cda5387686e2da2931ec62b1ada.tar.bz2 |
media: dvbsky: use the new dvb_module_probe() API
Instead of repeating countless times a complex logic, use
the new dvb_module_probe()/dvb_module_release(), simplifying
the module.
That reduced about 15% at the module's size:
text data bss dec hex filename
7083 1108 12 8203 200b old/drivers/media/usb/dvb-usb-v2/dvbsky.o
5817 1108 12 6937 1b19 new/drivers/media/usb/dvb-usb-v2/dvbsky.o
Tested with a DVBSky S960C DVB-S2 tuner (0572:960c)
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'arch/openrisc/kernel')
0 files changed, 0 insertions, 0 deletions