]> git.baikalelectronics.ru Git - kernel.git/commit
[media] saa7134: Get rid of struct saa7134_input.tv field
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 5 Feb 2016 12:37:18 +0000 (10:37 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 10 Feb 2016 09:23:43 +0000 (07:23 -0200)
commit120042d00e165076e88255dd75e73c310fdce25e
tree6eb195592bf0bb575532097e05689de2804ab114
parent979ed9b2ca6d0f7ca5c115eb2b73d33f2f6b6ce7
[media] saa7134: Get rid of struct saa7134_input.tv field

The saa7134_input.tv field was used to indicate if an input had
a RF signal for TV input. This is not needed anymore, as the input
type can be checked directly by the driver.

Also, due to a past bug when setting the TV standard at the
demod, all inputs should have this field set, with is wrong.

This reduces the size of the saa7134_boards by about 8KB,
on i386 (and probably twice on 64 bits), with is a nice
colateral effect:

   text    data     bss     dec     hex filename
 241047  136831   66356  444234   6c74a drivers/media/pci/saa7134/saa7134.o.old
 240851  128895   66292  436038   6a746 drivers/media/pci/saa7134/saa7134.o

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/saa7134/saa7134-cards.c
drivers/media/pci/saa7134/saa7134-video.c
drivers/media/pci/saa7134/saa7134.h