mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Heiner Kallweit <hkallweit1@gmail.com>
To: Arnd Bergmann <arnd@arndb.de>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	"Rafael J. Wysocki" <rafael@kernel.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH 0/2] eeprom: ee1004: Let device core handle attribute eeprom
Date: Wed, 19 May 2021 18:32:08 +0200	[thread overview]
Message-ID: <66e9f6e5-fdee-6963-6131-228c69705350@gmail.com> (raw)

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


             reply	other threads:[~2021-05-19 16:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-19 16:32 Heiner Kallweit [this message]
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

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=66e9f6e5-fdee-6963-6131-228c69705350@gmail.com \
    --to=hkallweit1@gmail.com \
    --cc=arnd@arndb.de \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®