[media] qt1010: Reduce text size by using static const
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 28 Apr 2015 15:39:02 +0000 (12:39 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 30 Apr 2015 16:40:28 +0000 (13:40 -0300)
commitefc0ac5a0e54657f74c2d6e73e146d249116a608
tree28671503ed430cec140d2bfe0a9afcca319bf2d2
parentd202e1bab3c3b61dd562360e5c73e9df7d2cfe09
[media] qt1010: Reduce text size by using static const

Using static const allows the compiler to optimize the code.

Before static const:
   text    data     bss     dec     hex filename
   4982     524    1568    7074    1ba2 drivers/media/tuners/qt1010.o

After static const:
   text    data     bss     dec     hex filename
   4714     524    1568    6806    1a96 drivers/media/tuners/qt1010.o

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/tuners/qt1010.c