drivers: gpio: sam: Fix Kconfig default for SAM4L

In update the Kconfig to depend on devicetree, the SAM4L
driver was missing a 'default y'.

Also remove unnecessary 'depends on GPIO'.

Signed-off-by: Kumar Gala <galak@kernel.org>
This commit is contained in:
Kumar Gala 2022-07-25 20:14:55 -05:00 committed by Carles Cufí
parent 506cff9a27
commit 737b1fa25a

View file

@ -8,13 +8,12 @@ config GPIO_SAM
bool "Atmel SAM GPIO (PORT) driver"
default y
depends on DT_HAS_ATMEL_SAM_GPIO_ENABLED
depends on GPIO
help
Enable support for the Atmel SAM 'PORT' GPIO controllers.
config GPIO_SAM4L
bool "Atmel SAM4L GPIO (PORT) driver"
default y
depends on DT_HAS_ATMEL_SAM4L_GPIO_ENABLED
depends on GPIO
help
Enable support for the Atmel SAM4L 'PORT' GPIO controllers.