zephyr/drivers/pwm/Kconfig.sam
Ulf Magnusson f46e391f06 kconfig: pwm: Remove redundant deps. and clean up a bit
- Remove redundant dependencies on the PWM symbol (which show up as
   PWM && PWM in the documentation). The 'source's in
   drivers/pwm/Kconfig are already within an 'if PWM' block.

 - Turn some repeated 'depends on FOO' into 'if FOO' blocks.

 - Turn some 'if FOO's that surround a single symbol into
   'depends on FOO'.

'if FOO' is equivalent to adding a 'depends on FOO' to each symbol
within the 'if'.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-03-01 13:50:06 -06:00

12 lines
257 B
Plaintext

# Kconfig.sam - Atmel SAM TRNG configuration
#
# Copyright (c) 2019 Aurelien Jarno
#
# SPDX-License-Identifier: Apache-2.0
menuconfig PWM_SAM
bool "Atmel SAM MCU Family PWM Driver"
depends on SOC_FAMILY_SAM
help
Enable PWM driver for Atmel SAM MCUs.