diff options
| author | Mark Brown <broonie@kernel.org> | 2020-01-23 12:37:08 +0000 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2020-01-23 12:37:08 +0000 |
| commit | ebe0bdf9cfb97afc5ef4ef85e4f05d0585291ebf (patch) | |
| tree | 87862eaf18d439b81c2a11106420f477faa22cb4 /include/linux | |
| parent | 9909f7986a8159200eaa8320ea081f337ebdd940 (diff) | |
| parent | 0468e667a5bead9c1b7ded92861b5a98d8d78745 (diff) | |
| download | cachepc-linux-ebe0bdf9cfb97afc5ef4ef85e4f05d0585291ebf.tar.gz cachepc-linux-ebe0bdf9cfb97afc5ef4ef85e4f05d0585291ebf.zip | |
Merge remote-tracking branch 'regulator/topic/equal' into regulator-next
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/regulator/consumer.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/regulator/consumer.h b/include/linux/regulator/consumer.h index 337a46391527..6a92fd3105a3 100644 --- a/include/linux/regulator/consumer.h +++ b/include/linux/regulator/consumer.h @@ -287,6 +287,8 @@ void regulator_bulk_set_supply_names(struct regulator_bulk_data *consumers, const char *const *supply_names, unsigned int num_supplies); +bool regulator_is_equal(struct regulator *reg1, struct regulator *reg2); + #else /* @@ -593,6 +595,11 @@ regulator_bulk_set_supply_names(struct regulator_bulk_data *consumers, { } +static inline bool +regulator_is_equal(struct regulator *reg1, struct regulator *reg2) +{ + return false; +} #endif static inline int regulator_set_voltage_triplet(struct regulator *regulator, |
