From: Dmitry Osipenko Date: Fri, 5 Oct 2018 15:36:33 +0000 (+0300) Subject: regulator: core: Limit regulators coupling to a single couple X-Git-Tag: v5.4-rc1~2003^2^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=40c223efaa17e9bc3d964ee285967ebbe09c3e12;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Mark Brown --- diff --git a/include/linux/regulator/driver.h b/include/linux/regulator/driver.h index a9c0301..a05d37d 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 #include