linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] EDAC: Clean up device_create_file() & co
@ 2015-02-04 10:48 Takashi Iwai
  2015-02-04 10:48 ` [PATCH 1/8] EDAC: core: Use static attribute groups for managing sysfs entries Takashi Iwai
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Takashi Iwai @ 2015-02-04 10:48 UTC (permalink / raw)
  To: linux-edac
  Cc: Doug Thompson, Borislav Petkov, Mauro Carvalho Chehab, linux-kernel

Hi,

this is a series of cleanup patches to replace the manual
device_create_file() and device_remove_file() calls with the static
attribute groups.  This simplifies the code and also avoids the
possible races between the device registration and sysfs creations.

Non-x86 driver have been only compile-tested.


Takashi

===

Takashi Iwai (8):
  EDAC: core: Use static attribute groups for managing sysfs entries
  EDAC: Allow to pass driver-specific attribute groups
  EDAC: amd64: Use static attribute groups
  EDAC: i7core: Return proper error codes for kzalloc() errors
  EDAC: i7core: Use static attribute groups for sysfs entries
  EDAC: mpc85xx: Use static attribute groups for sysfs entries
  EDAC: octeon: Use static attribute groups for sysfs entries
  EDAC: highbank: Use static attribute groups for sysfs entries

 drivers/edac/amd64_edac.c       |  47 +++---------
 drivers/edac/amd64_edac.h       |  24 +-----
 drivers/edac/amd64_edac_dbg.c   |  43 +++--------
 drivers/edac/amd64_edac_inj.c   |  51 ++++++-------
 drivers/edac/edac_core.h        |   4 +-
 drivers/edac/edac_mc.c          |  12 +--
 drivers/edac/edac_mc_sysfs.c    | 162 ++++++++++++++++++----------------------
 drivers/edac/edac_module.h      |   3 +-
 drivers/edac/highbank_mc_edac.c |  12 ++-
 drivers/edac/i7core_edac.c      |  33 +++-----
 drivers/edac/mpc85xx_edac.c     |  38 ++--------
 drivers/edac/octeon_edac-lmc.c  |  55 ++++----------
 12 files changed, 174 insertions(+), 310 deletions(-)

-- 
2.2.2


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

end of thread, other threads:[~2015-02-06 10:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-04 10:48 [PATCH 0/8] EDAC: Clean up device_create_file() & co Takashi Iwai
2015-02-04 10:48 ` [PATCH 1/8] EDAC: core: Use static attribute groups for managing sysfs entries Takashi Iwai
2015-02-04 10:48 ` [PATCH 2/8] EDAC: Allow to pass driver-specific attribute groups Takashi Iwai
2015-02-04 10:48 ` [PATCH 3/8] EDAC: amd64: Use static " Takashi Iwai
2015-02-04 10:48 ` [PATCH 4/8] EDAC: i7core: Return proper error codes for kzalloc() errors Takashi Iwai
2015-02-04 10:48 ` [PATCH 5/8] EDAC: i7core: Use static attribute groups for sysfs entries Takashi Iwai
2015-02-04 10:48 ` [PATCH 6/8] EDAC: mpc85xx: " Takashi Iwai
2015-02-04 10:48 ` [PATCH 7/8] EDAC: octeon: " Takashi Iwai
2015-02-04 10:48 ` [PATCH 8/8] EDAC: highbank: " Takashi Iwai
2015-02-06 10:44 ` [PATCH 0/8] EDAC: Clean up device_create_file() & co Borislav Petkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).