public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] drivers core: Use sysfs_emit functions
@ 2020-09-07 17:58 Joe Perches
  2020-09-07 17:58 ` [PATCH 1/4] drivers core: Use sysfs_emit and sysfs_emit_at for show(device *...) functions Joe Perches
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Joe Perches @ 2020-09-07 17:58 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rafael J. Wysocki, linux-kernel, linux-pm

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


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-09-08  8:40 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-07 17:58 [PATCH 0/4] drivers core: Use sysfs_emit functions Joe Perches
2020-09-07 17:58 ` [PATCH 1/4] drivers core: Use sysfs_emit and sysfs_emit_at for show(device *...) functions Joe Perches
     [not found]   ` <202009080519.SXudMmrU%lkp@intel.com>
2020-09-07 22:58     ` Joe Perches
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  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 19:58 ` [PATCH 5/4] drivers core: Convert class uses of sprintf to sysfs_emit Joe Perches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox