summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2016-10-30 13:08:42 +0100
committerJonathan Cameron <jic23@kernel.org>2016-11-01 18:59:23 +0100
commitb4d2192e6fa81fab2000277fd399023d3a23ac96 (patch)
tree215148c97caba905330de803307d1297676b3069 /drivers/iio
parentplatform/chrome: cros_ec_dev - Register cros-ec sensors (diff)
downloadlinux-b4d2192e6fa81fab2000277fd399023d3a23ac96.tar.xz
linux-b4d2192e6fa81fab2000277fd399023d3a23ac96.zip
iio:cros_ec_sensors: Swap from a select to a depends in Kconfig
Would have merged this into the original patch as a fixup but I've already pushed that out as an immutable branch for others to use so it'll have to be a separate patch. The original select had a typo as well. Trying to do this via a select was opening a can of worms due to a tree of other elements that would also have needed selecting. A simple depends seems much mroe straight forward and appropriate in this case. Signed-off-by: Jonathan Cameron <jic23@kernel.org> Cc: Lee Jones <lee.jones@linaro.org> Cc: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Diffstat (limited to 'drivers/iio')
-rw-r--r--drivers/iio/common/cros_ec_sensors/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/iio/common/cros_ec_sensors/Kconfig b/drivers/iio/common/cros_ec_sensors/Kconfig
index 3349c9d2cf7a..135f6825903f 100644
--- a/drivers/iio/common/cros_ec_sensors/Kconfig
+++ b/drivers/iio/common/cros_ec_sensors/Kconfig
@@ -14,8 +14,7 @@ config IIO_CROS_EC_SENSORS_CORE
config IIO_CROS_EC_SENSORS
tristate "ChromeOS EC Contiguous Sensors"
- select IIO_CROS_EC_SENSORS_CORE
- select MFD_CROSS_EC
+ depends on IIO_CROS_EC_SENSORS_CORE
help
Module to handle 3d contiguous sensors like
Accelerometers, Gyroscope and Magnetometer that are