mei: bus: use scnprintf in *_show
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Thu, 24 Mar 2016 08:38:04 +0000 (10:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 Mar 2016 23:43:05 +0000 (16:43 -0700)
commit423de92f56bdfc3e68503af31e6ec041d59a6a25
treea0a1f5ad57cbb279668933a7ac2601d5bfb09c78
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca
mei: bus: use scnprintf in *_show

There's no reason to duplicate the logic provided by scnprintf().

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/bus.c