forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
e280a8c64a
commit
31c6ff51fd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user