soc: Use nrf.h instead of nrf52.h and nrf52_bitfields.h

Since nrf.h abstracts the differences between the nRF51 and nRF52
architectures and chooses the right headers to include, it is
safer to use that instead of directly including the soc-specific
headers.

Jira: ZEP-702

Change-Id: I0e1758ede48f3422a41d226b0eab008e4ba2c77c
Signed-off-by: Vinayak Chettimada <vinayak.kariappa.chettimada@nordicsemi.no>
Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
Vinayak Chettimada 2016-08-15 11:36:57 +02:00 committed by Johan Hedberg
commit ad0e041e3d

View file

@ -24,8 +24,7 @@
#ifndef _ASMLANGUAGE
#include "soc_irq.h"
#include <nrf52.h>
#include <nrf52_bitfields.h>
#include <nrf.h>
#include <device.h>
#include <misc/util.h>
#include <drivers/rand32.h>