nvmem: remove unneeded IS_ENABLED(CONFIG_NVMEM) conditional
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 11 Sep 2017 09:00:14 +0000 (11:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Sep 2017 14:20:26 +0000 (16:20 +0200)
commite701c67c30e65cc887b1ebdd6ef91010f0ca46fa
treeeb4410a9f1a325ebc5c2ea10a463e580b2644118
parentf7c04f16d76e795f52a8fdbf11d351346fe7032c
nvmem: remove unneeded IS_ENABLED(CONFIG_NVMEM) conditional

As you see in drivers/nvmem/Makefile, this C file is compiled only
when CONFIG_NVMEM is y or m.

So, IS_ENABLED(CONFIG_NVMEM) is always evaluated to 1 in this file.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/core.c