drivers: clock control: nrf: rename CLOCK_CONTROL_NRF5 Kconfig symbol

This commit renames the CLOCK_CONTROL_NRF5 Kconfig symbol to
CLOCK_CONTROL_NRF. The change is required to aleviates confusion
when selecting the symbol in nRF9160 SOC definition.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
Ioannis Glaropoulos 2019-01-15 09:49:17 +01:00 committed by Carles Cufí
commit 302a746bd6
17 changed files with 74 additions and 74 deletions

View file

@ -4753,11 +4753,11 @@ static void k32src_wait(void)
done = true;
struct device *lf_clock = device_get_binding(
CONFIG_CLOCK_CONTROL_NRF5_K32SRC_DRV_NAME);
CONFIG_CLOCK_CONTROL_NRF_K32SRC_DRV_NAME);
LL_ASSERT(lf_clock);
while (clock_control_on(lf_clock, (void *)CLOCK_CONTROL_NRF5_K32SRC)) {
while (clock_control_on(lf_clock, (void *)CLOCK_CONTROL_NRF_K32SRC)) {
DEBUG_CPU_SLEEP(1);
cpu_sleep();
DEBUG_CPU_SLEEP(0);