Home
last modified time | relevance | path

Searched hist:"043786303 b175977e515d4e99cf6b5f886b136dc" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/spi/
H A Dspi.cdiff 043786303b175977e515d4e99cf6b5f886b136dc Fri Feb 18 14:58:35 CET 2022 Heiner Kallweit <hkallweit1@gmail.com> spi: use sysfs_emit() for printing statistics and add trailing newline

Use dedicated function sysfs_emit() that does some extra checking,
e.g. to ensure that no more than PAGESIZE bytes are written.
In addition add a trailing newline to the output, that makes it
better readable from the console.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/56e1588d-d53b-73e9-fdc8-7fe30bf91f11@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>