diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2019-11-12 10:19:49 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-11-13 15:20:25 +0100 |
commit | 218427e91205a94026587421958df719cc96b2ee (patch) | |
tree | 36cd575059ef81212b0401e2eb4b136ffaed6ab0 /drivers/mfd | |
parent | bffb9deb9030f26cb929c29a7b3acc2fba6f3f83 (diff) | |
download | barebox-218427e91205a94026587421958df719cc96b2ee.tar.gz barebox-218427e91205a94026587421958df719cc96b2ee.tar.xz |
mfd: stpmic1: use register define from header
A previous commit has copied over the upstream <linux/mfd/stpmic1.h>
header. Use it instead of replicating register definitions in the
MFD and watchdog cell driver. No functional change.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/stpmic1.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mfd/stpmic1.c b/drivers/mfd/stpmic1.c index eae6fe3a4e..ab13ded0ec 100644 --- a/drivers/mfd/stpmic1.c +++ b/drivers/mfd/stpmic1.c @@ -12,8 +12,7 @@ #include <of.h> #include <regmap.h> #include <xfuncs.h> - -#define VERSION_SR 0x6 +#include <linux/mfd/stpmic1.h> struct stpmic1 { struct device_d *dev; |