Skip to content

Commit

Permalink
regulator: core: Limit regulators coupling to a single couple
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dmitry Osipenko authored and Mark Brown committed Nov 8, 2018
1 parent d3b687c commit 40c223e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/regulator/driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 40c223e

Please sign in to comment.