Messages in this thread |  | | From | Heiner Kallweit <> | | Subject | [PATCH 0/2] eeprom: ee1004: Let device core handle attribute eeprom | | Date | Wed, 19 May 2021 18:32:08 +0200 |
| |
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
|  |