advansys: replace seq_printf with seq_puts
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Tue, 2 Dec 2014 23:10:50 +0000 (00:10 +0100)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 2 Feb 2015 17:57:45 +0000 (09:57 -0800)
commit2f979427b2babed959c86d32a506063b9145429e
tree09f8cc6c887fb3fe326da3a059077a824ef360cf
parent0c3de38ff3eec506ef08ede32110d1f266366ccd
advansys: replace seq_printf with seq_puts

Using seq_printf to print a simple string is a lot more expensive than
it needs to be, since seq_puts exists. Replace seq_printf with
seq_puts when possible.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Reviewed-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/advansys.c