Skip to content

Commit

Permalink
nvmem: remove a stray newline in nvmem_register()
Browse files Browse the repository at this point in the history
Two newlines are unnecessary - remove one.

Signed-off-by: Bartosz Golaszewski <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
brgl authored and gregkh committed Mar 19, 2020
1 parent 8b977c5 commit e280a8c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/nvmem/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit e280a8c

Please sign in to comment.