sensors: hts221: provide name to Kconfig choice

In order to be able to default Kconfig "Trigger mode" choice
in a board Kconfig.defconfig, this commit provides it with a name.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2017-10-13 16:09:53 +02:00 committed by Kumar Gala
parent 2e20f49167
commit 2a7efb7419
1 changed files with 1 additions and 2 deletions

View File

@ -29,10 +29,9 @@ config HTS221_I2C_MASTER_DEV_NAME
Specify the device name of the I2C master device to which HTS221 is
connected.
choice
choice HTS221_TRIGGER_MODE
prompt "Trigger mode"
depends on HTS221
default HTS221_TRIGGER_GLOBAL_THREAD
help
Specify the type of triggering to be used by the driver.