[PATCH 0/2] eeprom: ee1004: Let device core handle attribute eeprom
From: Heiner Kallweit
Date: Wed May 19 2021 - 12:32:20 EST
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