[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200916170933.20302-1-vadym.kochan@plvision.eu>
Date: Wed, 16 Sep 2020 20:09:30 +0300
From: Vadym Kochan <vadym.kochan@...ision.eu>
To: Bartosz Golaszewski <bgolaszewski@...libre.com>,
Srinivas Kandagatla <srinivas.kandagatla@...aro.org>,
Arnd Bergmann <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Gustavo A. R. Silva" <gustavoars@...nel.org>,
linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: Vadym Kochan <vadym.kochan@...ision.eu>
Subject: [PATCH 0/3] misc: eeprom: set type id as EEPROM for nvmem devices
Set type as NVMEM_TYPE_EEPROM to expose this info via
sysfs:
$ cat /sys/bus/nvmem/devices/0-00560/type
EEPROM
Tested only with at24 device.
Vadym Kochan (3):
eeprom: at24: set type id as EEPROM
eeprom: at25: set type id as EEPROM
eeprom: 93xx46: set type id as EEPROM
drivers/misc/eeprom/at24.c | 1 +
drivers/misc/eeprom/at25.c | 1 +
drivers/misc/eeprom/eeprom_93xx46.c | 1 +
3 files changed, 3 insertions(+)
--
2.17.1
Powered by blists - more mailing lists