Skip to content

Commit 40c223e

Browse files
digetxbroonie
authored andcommitted
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>
1 parent d3b687c commit 40c223e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/linux/regulator/driver.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#ifndef __LINUX_REGULATOR_DRIVER_H_
1616
#define __LINUX_REGULATOR_DRIVER_H_
1717

18-
#define MAX_COUPLED 4
18+
#define MAX_COUPLED 2
1919

2020
#include <linux/device.h>
2121
#include <linux/notifier.h>

0 commit comments

Comments
 (0)