public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] eeprom: ee1004: Let device core handle attribute eeprom
@ 2021-05-19 16:32 Heiner Kallweit
  2021-05-19 16:33 ` [PATCH 1/2] sysfs: Add helper BIN_ATTRIBUTE_GROUPS Heiner Kallweit
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Heiner Kallweit @ 2021-05-19 16:32 UTC (permalink / raw)
  To: Arnd Bergmann, Greg Kroah-Hartman, Rafael J. Wysocki
  Cc: Linux Kernel Mailing List

Instead of creating/removing the attribute ourselves, just declare the
attribute and let the device core handle it. This allows to simplify
the code.

Heiner Kallweit (2):
  sysfs: Add helper BIN_ATTRIBUTE_GROUPS
  eeprom: ee1004: Let device core handle attribute eeprom

 drivers/misc/eeprom/ee1004.c | 26 +++++++++-----------------
 include/linux/sysfs.h        |  6 ++++++
 2 files changed, 15 insertions(+), 17 deletions(-)

-- 
2.31.1


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

end of thread, other threads:[~2021-05-21 18:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-19 16:32 [PATCH 0/2] eeprom: ee1004: Let device core handle attribute eeprom Heiner Kallweit
2021-05-19 16:33 ` [PATCH 1/2] sysfs: Add helper BIN_ATTRIBUTE_GROUPS Heiner Kallweit
2021-05-19 17:04   ` Greg Kroah-Hartman
2021-05-19 19:02     ` Heiner Kallweit
2021-05-21 18:41       ` Greg Kroah-Hartman
2021-05-21 18:41         ` Greg Kroah-Hartman
2021-05-21 18:45           ` Heiner Kallweit
2021-05-19 16:34 ` [PATCH 2/2] eeprom: ee1004: Let device core handle attribute eeprom Heiner Kallweit
2021-05-20 19:25 ` [PATCH v2] " Heiner Kallweit
2021-05-21 18:43   ` Heiner Kallweit

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