lkml.org 
[lkml]   [2020]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] misc: eeprom: set type id as EEPROM for nvmem devices
Date
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

\
 
 \ /
  Last update: 2020-09-16 22:36    [W:0.057 / U:3.768 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site