From: Joe Perches <joe@perches.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
"Rafael J. Wysocki" <rafael@kernel.org>,
linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org
Subject: [PATCH 0/4] drivers core: Use sysfs_emit functions
Date: Mon, 7 Sep 2020 10:58:04 -0700 [thread overview]
Message-ID: <cover.1599501047.git.joe@perches.com> (raw)
This is a sample block of conversions for drivers/base from next-20200903.
It requires the suggested patch that adds sysfs_emit pafunctions from
https://lore.kernel.org/lkml/a9054fb521e65f2809671fa9c18e2453061e9d91.1598744610.git.joe@perches.com/
Convert and neaten the various uses of sprintf family functions to
sysfs_emit and sysfs_emit_at
Joe Perches (4):
drivers core: Use sysfs_emit and sysfs_emit_at for show(device *...) functions
drivers core: Remove strcat uses around sysfs_emit and neaten
drivers core: Reindent a couple uses around sysfs_emit
drivers core: Miscellaneous changes for sysfs_emit
drivers/base/arch_topology.c | 2 +-
drivers/base/cacheinfo.c | 32 ++++++++-----
drivers/base/class.c | 2 +-
drivers/base/core.c | 27 ++++++-----
drivers/base/cpu.c | 50 ++++++++++----------
drivers/base/dd.c | 2 +-
drivers/base/firmware_loader/fallback.c | 2 +-
drivers/base/memory.c | 59 +++++++++++------------
drivers/base/node.c | 47 ++++++++----------
drivers/base/platform.c | 8 ++--
drivers/base/power/sysfs.c | 63 +++++++++++++------------
drivers/base/power/wakeup_stats.c | 12 ++---
drivers/base/soc.c | 10 ++--
13 files changed, 159 insertions(+), 157 deletions(-)
--
2.26.0
next reply other threads:[~2020-09-07 17:58 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-07 17:58 Joe Perches [this message]
2020-09-07 17:58 ` [PATCH 1/4] drivers core: Use sysfs_emit and sysfs_emit_at for show(device *...) functions Joe Perches
2020-09-07 21:24 ` kernel test robot
2020-09-07 22:58 ` Joe Perches
2020-09-07 22:58 ` Joe Perches
2020-09-07 21:32 ` kernel test robot
2020-09-08 8:27 ` Greg Kroah-Hartman
2020-09-08 8:33 ` Joe Perches
2020-09-07 17:58 ` [PATCH 2/4] drivers core: Remove strcat uses around sysfs_emit and neaten Joe Perches
2020-09-08 1:54 ` kernel test robot
2020-09-08 1:54 ` kernel test robot
2020-09-08 8:32 ` Greg Kroah-Hartman
2020-09-08 8:40 ` Joe Perches
2020-09-07 17:58 ` [PATCH 3/4] drivers core: Reindent a couple uses around sysfs_emit Joe Perches
2020-09-07 17:58 ` [PATCH 4/4] drivers core: Miscellaneous changes for sysfs_emit Joe Perches
2020-09-07 22:59 ` kernel test robot
2020-09-07 22:59 ` kernel test robot
2020-09-07 19:58 ` [PATCH 5/4] drivers core: Convert class uses of sprintf to sysfs_emit Joe Perches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1599501047.git.joe@perches.com \
--to=joe@perches.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rafael@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.