Re: [PATCH 4/4] nvmem: remove unneeded IS_ENABLED(CONFIG_NVMEM) conditional
From: Greg Kroah-Hartman
Date: Mon Sep 18 2017 - 10:09:41 EST
On Mon, Sep 11, 2017 at 11:00:14AM +0200, srinivas.kandagatla@xxxxxxxxxx wrote:
> From: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxx>
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>
> ---
> drivers/nvmem/core.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Again, not a bugfix, should go into 4.15-rc1.