drivers: sensors: Consistently quote "GPIO_0" string default
These cases weren't caught by the heuristic used by the warning added in
commit 6eabea3a7e
("Kconfiglib: Warn for unquoted string defaults"),
because "GPIO_0" has no lowercase characters in it.
Unquoted Kconfig values are are indistinguishable from reference to
(undefined) symbols in general. Quoting all string defaults will help
find "true" references to undefined Kconfig symbols, and makes it
clearer that the value is constant.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
parent
02b5f3edc8
commit
2a8349950e
3 changed files with 3 additions and 3 deletions
|
@ -112,7 +112,7 @@ config BMC150_MAGN_TRIGGER_DRDY
|
||||||
config BMC150_MAGN_GPIO_DRDY_DEV_NAME
|
config BMC150_MAGN_GPIO_DRDY_DEV_NAME
|
||||||
string "GPIO device where BMC150_MAGN data ready interrupt is connected"
|
string "GPIO device where BMC150_MAGN data ready interrupt is connected"
|
||||||
depends on BMC150_MAGN_TRIGGER_DRDY
|
depends on BMC150_MAGN_TRIGGER_DRDY
|
||||||
default GPIO_0
|
default "GPIO_0"
|
||||||
help
|
help
|
||||||
Specify the device name of the GPIO controller the BMC150_MAGN interrupt
|
Specify the device name of the GPIO controller the BMC150_MAGN interrupt
|
||||||
is connected to.
|
is connected to.
|
||||||
|
|
|
@ -122,7 +122,7 @@ config LSM9DS0_GYRO_TRIGGER_DRDY
|
||||||
config LSM9DS0_GYRO_GPIO_DRDY_DEV_NAME
|
config LSM9DS0_GYRO_GPIO_DRDY_DEV_NAME
|
||||||
string "GPIO device where LSM9DS0_GYRO data ready interrupt is connected"
|
string "GPIO device where LSM9DS0_GYRO data ready interrupt is connected"
|
||||||
depends on LSM9DS0_GYRO_TRIGGER_DRDY
|
depends on LSM9DS0_GYRO_TRIGGER_DRDY
|
||||||
default GPIO_0
|
default "GPIO_0"
|
||||||
help
|
help
|
||||||
Specify the device name of the GPIO controller the BMC150_MAGN interrupt
|
Specify the device name of the GPIO controller the BMC150_MAGN interrupt
|
||||||
is connected to.
|
is connected to.
|
||||||
|
|
|
@ -69,7 +69,7 @@ config SX9500_TRIGGER
|
||||||
config SX9500_GPIO_CONTROLLER
|
config SX9500_GPIO_CONTROLLER
|
||||||
string "GPIO controller for SX9500 interrupt"
|
string "GPIO controller for SX9500 interrupt"
|
||||||
depends on SX9500 && SX9500_TRIGGER
|
depends on SX9500 && SX9500_TRIGGER
|
||||||
default GPIO_0
|
default "GPIO_0"
|
||||||
help
|
help
|
||||||
Specify the device name of the GPIO controller the SX9500 interrupt
|
Specify the device name of the GPIO controller the SX9500 interrupt
|
||||||
is connected to.
|
is connected to.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue