diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-03-10 16:22:48 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-19 09:41:02 +0300 |
commit | 31c6ff51fdce7c507e1015bf5cefda8505a13809 (patch) | |
tree | b271f2ce5efd9b3425ac2b4d049bba1f746b991b | |
parent | e280a8c64aa808d3af55f2a7419671f3a4715c08 (diff) | |
download | linux-31c6ff51fdce7c507e1015bf5cefda8505a13809.tar.xz |
nvmem: add a newline for readability
Visibly separate the GPIO request from the previous operation in the
code with a newline.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20200310132257.23358-6-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/nvmem/core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nvmem/core.c b/drivers/nvmem/core.c index 9bdf0ab88efe..503da67dde06 100644 --- a/drivers/nvmem/core.c +++ b/drivers/nvmem/core.c @@ -347,6 +347,7 @@ struct nvmem_device *nvmem_register(const struct nvmem_config *config) kfree(nvmem); return ERR_PTR(rval); } + if (config->wp_gpio) nvmem->wp_gpio = config->wp_gpio; else |