summaryrefslogtreecommitdiff
path: root/include/linux/regulator
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2018-10-05 18:36:33 +0300
committerMark Brown <broonie@kernel.org>2018-11-08 19:20:47 +0300
commit40c223efaa17e9bc3d964ee285967ebbe09c3e12 (patch)
tree1bf240e923c7cc6bdf9c6be6a5ec622a362593d7 /include/linux/regulator
parentd3b687c58ad9343532b4a20e541934eb1b557453 (diff)
downloadlinux-40c223efaa17e9bc3d964ee285967ebbe09c3e12.tar.xz
regulator: core: Limit regulators coupling to a single couple
Device tree binding was changed in a way that now max-spread values must be defied per regulator pair. Limit number of pairs in order to adapt to the new binding without changing regulators code. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/regulator')
-rw-r--r--include/linux/regulator/driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/regulator/driver.h b/include/linux/regulator/driver.h
index a9c030192147..a05d37d0efa1 100644
--- a/include/linux/regulator/driver.h
+++ b/include/linux/regulator/driver.h
@@ -15,7 +15,7 @@
#ifndef __LINUX_REGULATOR_DRIVER_H_
#define __LINUX_REGULATOR_DRIVER_H_
-#define MAX_COUPLED 4
+#define MAX_COUPLED 2
#include <linux/device.h>
#include <linux/notifier.h>