iio: adc: at91: make array startup_lookup static
authorColin Ian King <colin.king@canonical.com>
Mon, 10 Jul 2017 17:46:54 +0000 (18:46 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 10 Jul 2017 21:00:17 +0000 (22:00 +0100)
commit5b4e17c9c45a93bae226fdaa2985c8b521f45bd4
tree6048ebb656b8f2b596715fbe2ee7d3ef377d66c1
parentb30f1593678efe786234e12a86e321391ff9407c
iio: adc: at91: make array startup_lookup static

Don't populate array startup_lookup on the stack but instead make
it static.  Makes the object code smaller.

Before:
   text    data     bss     dec     hex filename
  21754    5440     128   27322    6aba drivers/iio/adc/at91_adc.o

After:
   text    data     bss     dec     hex filename
  21613    5496     128   27237    6a65 drivers/iio/adc/at91_adc.o

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/at91_adc.c