]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mfd: Remove MFD_CROS_EC_SPI depends on OF
authorJavier Martinez Canillas <javier.martinez@collabora.co.uk>
Thu, 25 Jun 2015 00:20:44 +0000 (02:20 +0200)
committerLee Jones <lee.jones@linaro.org>
Tue, 11 Aug 2015 14:08:41 +0000 (15:08 +0100)
commitacdecb04e2115747f260700384f2c403c8e9693e
treefd73a8781417edfd88f32b63b697827b5f3fa889
parent00b6e9ff01a8f41816060b2f70752f66f100fecd
mfd: Remove MFD_CROS_EC_SPI depends on OF

The ChromeOS EC SPI transport driver has a dependency on OF because it
uses some OF helpers from the <linux/of.h> header. But there isn't a
need for an explicit dependency since the header has stub functions if
CONFIG_OF is not defined.

Also, MFD_CROS_EC_SPI already depends on MFD_CROS_EC which in turn has
a dependency on OF so in practice can't be selected without CONFIG_OF.

Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/Kconfig