diff options
author | Jean Delvare <jdelvare@suse.de> | 2019-07-28 18:42:55 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-19 09:08:08 +0200 |
commit | b0fc60701db5231f390a2565995ad9a758bbf119 (patch) | |
tree | d7c536eb12393f59411982d204fd9cc8c9408e18 /Makefile | |
parent | a75883f402214561a4e584d37d89a96a1f6931e8 (diff) | |
download | linux-stable-b0fc60701db5231f390a2565995ad9a758bbf119.tar.gz linux-stable-b0fc60701db5231f390a2565995ad9a758bbf119.tar.bz2 linux-stable-b0fc60701db5231f390a2565995ad9a758bbf119.zip |
nvmem: Use the same permissions for eeprom as for nvmem
commit e70d8b287301eb6d7c7761c6171c56af62110ea3 upstream.
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 <jdelvare@suse.de>
Fixes: b6c217ab9be6 ("nvmem: Add backwards compatibility support for older EEPROM drivers.")
Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20190728184255.563332e6@endymion
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions