mtd: spi: Use CONFIG_IS_ENABLED to prevent ifdef
authorJagan Teki <jagan@amarulasolutions.com>
Tue, 12 May 2020 18:41:27 +0000 (00:11 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 1 Jun 2020 12:25:24 +0000 (17:55 +0530)
commit3ee152b965a13c43f9251d40e4c49486c71e5dac
treeade0ab85db78388a5d77eed5c67627f971a94408
parent84673b4550bb4cf3dd86aabc89d095ca064f781a
mtd: spi: Use CONFIG_IS_ENABLED to prevent ifdef

Use CONFIG_IS_ENABLED to prevent ifdef in sf_probe.c

Cc: Simon Glass <sjg@chromium.org>
Cc: Vignesh R <vigneshr@ti.com>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/mtd/spi/sf_internal.h
drivers/mtd/spi/sf_probe.c