summaryrefslogtreecommitdiff
path: root/drivers/iio/pressure/st_pressure_core.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-08-30 12:16:16 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-09-03 18:10:32 +0100
commit2711e642baba386bc83e49b9d1c52c92d4393a63 (patch)
tree12fddfd5f1cab389b7ec9efcf63e4c32219e71da /drivers/iio/pressure/st_pressure_core.c
parentfe895ac88b9fbdf2026f0bfd56c82747bb9d7c48 (diff)
iio: imu: inv_mpu6050: make arrays hz and d static
Don't populate the arrays on the stack, instead make them static. Makes the object code smaller by 135 bytes: Before: text data bss dec hex filename 15135 4240 128 19503 4c2f inv_mpu_core.o After: text data bss dec hex filename 14840 4400 128 19368 4ba8 inv_mpu_core.o Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/pressure/st_pressure_core.c')
0 files changed, 0 insertions, 0 deletions