]> asedeno.scripts.mit.edu Git - linux.git/commit
iio/adc: depend on SYSFS instead of selecting it
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 15 Jan 2018 05:11:05 +0000 (21:11 -0800)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 30 Jan 2018 18:33:26 +0000 (18:33 +0000)
commitea9170e57689082fabc5787521774533bbd4a5a9
tree9fe706faaa739448488170f670fbafcc98141711
parent1a3f6755649dd419d9e01cbc38e116e2c70acb73
iio/adc: depend on SYSFS instead of selecting it

Drivers should not 'select' a subsystem. Instead they should depend
on it. If the subsystem is disabled, the user probably did that for
a purpose and one driver shouldn't be changing that.

This also makes all IIO drivers consistent w.r.t depending on SYSFS
instead of selecting it.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: linux-iio@vger.kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/Kconfig