sgi-gru: simplify procfs code some more
authorJoe Perches <joe@perches.com>
Mon, 7 Oct 2019 18:30:46 +0000 (11:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Oct 2019 13:24:19 +0000 (15:24 +0200)
commitfa6f90f349ac3c79bf085b2b4f5212ea102724d5
tree9d662e6c7a075430a5b810d6f9d990c466a6ac97
parentad90ff6964d733ee59d1679f692c23fb1dab7f30
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>
drivers/misc/sgi-gru/gruprocfs.c