zephyr/drivers/adc
Ulf Magnusson 2b61031c8f kconfig: Remove symbol types from Kconfig.defconfig files
Same deal as in commit 7fdb525754 ("kconfig: Use 'default' instead of
'def_bool' in Kconfig.defconfig files"), but I hacked Kconfiglib to also
find cases where the type is given separately as e.g.

    config FOO
            int
            default 3

Motivation (from a note in
https://docs.zephyrproject.org/latest/guides/kconfig/index.html):

    For a symbol defined in multiple locations (e.g., in a
    Kconfig.defconfig file in Zephyr), it is best to only give the
    symbol type for the "base" definition of the symbol, and to use
    'default' (instead of 'def_<type>' value) for the remaining
    definitions. That way, if the base definition of the symbol is
    removed, the symbol ends up without a type, which generates a
    warning that points to the other definitions. That makes the extra
    definitions easier to discover and remove.

It's also nice if 'def_bool' and the like turn into a semi-reliable flag
that the symbol is only defined in Kconfig.defconfig files. That might
be a sign that things could be cleaned up.

Will do a separate pass later to remove some symbols only defined in
Kconfig.defconfig files.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-10-24 12:40:22 -05:00
..
adc_context.h coccinelle: standardize kernel API timeout arguments 2019-10-03 11:55:44 -07:00
adc_handlers.c kernel: Port remaining syscalls to new API 2019-09-12 11:31:50 +08:00
adc_mchp_xec.c drivers: adc: adc_mchp_xec: Add error logs 2019-09-30 12:20:39 -05:00
adc_mcux_adc12.c
adc_mcux_adc16.c
adc_nrfx_adc.c drivers/adc: provide API to access reference voltage 2019-08-01 13:28:41 +02:00
adc_nrfx_saadc.c drivers/adc: provide API to access reference voltage 2019-08-01 13:28:41 +02:00
adc_sam_afec.c
adc_sam0.c
adc_shell.c
adc_stm32.c boards: arm: stm32: fix out of bounds access 2019-10-08 15:51:14 -05:00
CMakeLists.txt drivers/adc: Add support for Microchip's XEC ADC device 2019-09-25 06:12:52 -04:00
Kconfig drivers: adc: kconfig: Remove unused ADC_INIT_PRIORITY symbol 2019-10-21 08:17:05 -05:00
Kconfig.mcux
Kconfig.nrfx
Kconfig.sam_afec kconfig: Turn pointless/confusing 'menuconfig's into 'config's 2019-10-22 13:53:06 -05:00
Kconfig.sam0
Kconfig.stm32 kconfig: Remove symbol types from Kconfig.defconfig files 2019-10-24 12:40:22 -05:00
Kconfig.xec drivers/adc: Add support for Microchip's XEC ADC device 2019-09-25 06:12:52 -04:00