nvmem: meson-efuse: simplify read callback
authorJerome Brunet <jbrunet@baylibre.com>
Fri, 11 May 2018 11:07:00 +0000 (12:07 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2018 14:20:48 +0000 (16:20 +0200)
commita29a63bdaf6f45f534def493223f211297462bed
tree62531c3eecd45ed693260304dfcb221e4003e921
parent401488d121a4ec9dc3fd9637591cf0f3577c8ec2
nvmem: meson-efuse: simplify read callback

Most of the code and variables in the read callback is not necessary.
Keep only what is required.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/meson-efuse.c