summaryrefslogtreecommitdiff
path: root/drivers/misc/lis3lv02d
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2019-10-07 11:30:46 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-10 15:24:19 +0200
commitfa6f90f349ac3c79bf085b2b4f5212ea102724d5 (patch)
tree9d662e6c7a075430a5b810d6f9d990c466a6ac97 /drivers/misc/lis3lv02d
parentad90ff6964d733ee59d1679f692c23fb1dab7f30 (diff)
sgi-gru: simplify procfs code some more
Use seq_puts and simple string output and not seq_printf with formats and individual strings to reduce overall object size. $ size drivers/misc/sgi-gru/gruprocfs.o* (x86-64 defconfig with gru) text data bss dec hex filename 7006 8 0 7014 1b66 drivers/misc/sgi-gru/gruprocfs.o.new 7472 8 0 7480 1d38 drivers/misc/sgi-gru/gruprocfs.o.old Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Dimitri Sivanich <sivanich@hpe.com> Link: https://lore.kernel.org/r/cce61906a5f7f42f5b2b8b947fc61357bcb56e71.camel@perches.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/lis3lv02d')
0 files changed, 0 insertions, 0 deletions