diff options
author | Joe Perches <joe@perches.com> | 2019-10-07 20:30:46 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-10 15:24:19 +0200 |
commit | fa6f90f349ac3c79bf085b2b4f5212ea102724d5 (patch) | |
tree | 9d662e6c7a075430a5b810d6f9d990c466a6ac97 /drivers/greybus | |
parent | misc: atmel_tclib: use devm_platform_ioremap_resource() to simplify code (diff) | |
download | linux-fa6f90f349ac3c79bf085b2b4f5212ea102724d5.tar.xz linux-fa6f90f349ac3c79bf085b2b4f5212ea102724d5.zip |
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/greybus')
0 files changed, 0 insertions, 0 deletions