[PATCH 04/14] nvmem: remove a stray newline in nvmem_register()

From: Srinivas Kandagatla
Date: Tue Mar 10 2020 - 09:23:41 EST


From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>

Two newlines are unnecessary - remove one.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>
---
drivers/nvmem/core.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/nvmem/core.c b/drivers/nvmem/core.c
index 4634af1f6341..9bdf0ab88efe 100644
--- a/drivers/nvmem/core.c
+++ b/drivers/nvmem/core.c
@@ -355,7 +355,6 @@ struct nvmem_device *nvmem_register(const struct nvmem_config *config)
if (IS_ERR(nvmem->wp_gpio))
return ERR_CAST(nvmem->wp_gpio);

-
kref_init(&nvmem->refcnt);
INIT_LIST_HEAD(&nvmem->cells);

--
2.21.0