eeprom: at24: remove the write-protect pin support
authorKhouloud Touil <ktouil@baylibre.com>
Thu, 9 Jan 2020 09:51:13 +0000 (10:51 +0100)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Thu, 9 Jan 2020 09:51:13 +0000 (10:51 +0100)
commit1c89074bf85068d1b86f2e0f0c2110fdd9b83c9f
tree8669975166714ba7450a6bf9d4241fb6377456b5
parent6c57a664c4871549ceb85ccde9600bd5287dd319
eeprom: at24: remove the write-protect pin support

NVMEM framework is an interface for the at24 EEPROMs as well as for
other drivers, instead of passing the wp-gpios over the different
drivers each time, it would be better to pass it over the NVMEM
subsystem once and for all.

Removing the support for the write-protect pin after adding it to the
NVMEM subsystem.

Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/misc/eeprom/at24.c