iio:cros_ec_sensors: Swap from a select to a depends in Kconfig
authorJonathan Cameron <jic23@kernel.org>
Sun, 30 Oct 2016 12:08:42 +0000 (12:08 +0000)
committerJonathan Cameron <jic23@kernel.org>
Tue, 1 Nov 2016 17:59:23 +0000 (17:59 +0000)
commitb4d2192e6fa81fab2000277fd399023d3a23ac96
tree215148c97caba905330de803307d1297676b3069
parent5668bfdd90cd7b330aa25a5ff853b55dc224d13d
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>
drivers/iio/common/cros_ec_sensors/Kconfig