Revert "sensors: lis3mdl: provide name to Kconfig choice"

This reverts commit 2e20f49167.

"choice" section in board Kconfig.default introduces a dependency
from the sensor to the board. Then a warning was generated
whenever the sensor is used on another board

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2018-01-11 13:49:20 +01:00 committed by Kumar Gala
parent 4ebbaa2bb0
commit 11eac235bc
1 changed files with 2 additions and 1 deletions

View File

@ -39,9 +39,10 @@ config LIS3MDL_I2C_MASTER_DEV_NAME
Specify the device name of the I2C master device to which LIS3MDL is
connected.
choice LIS3MDL_TRIGGER_MODE
choice
prompt "Trigger mode"
depends on LIS3MDL
default LIS3MDL_TRIGGER_GLOBAL_THREAD
help
Specify the type of triggering to be used by the driver.