diff options
author | Jean Delvare <[email protected]> | 2019-07-28 18:42:55 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-07-30 18:22:20 +0200 |
commit | e70d8b287301eb6d7c7761c6171c56af62110ea3 (patch) | |
tree | efb0eea2fe67b59411437847fb70d4145173a9c8 /scripts/gdb | |
parent | d21a95e0ef3e06e403f296c3a409b307c47bdd08 (diff) |
nvmem: Use the same permissions for eeprom as for nvmem
The compatibility "eeprom" attribute is currently root-only no
matter what the configuration says. The "nvmem" attribute does
respect the setting of the root_only configuration bit, so do the
same for "eeprom".
Signed-off-by: Jean Delvare <[email protected]>
Fixes: b6c217ab9be6 ("nvmem: Add backwards compatibility support for older EEPROM drivers.")
Reviewed-by: Bartosz Golaszewski <[email protected]>
Cc: Andrew Lunn <[email protected]>
Cc: Srinivas Kandagatla <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Link: https://lore.kernel.org/r/20190728184255.563332e6@endymion
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions