| From 0468e667a5bead9c1b7ded92861b5a98d8d78745 Mon Sep 17 00:00:00 2001 |
| From: Stephen Rothwell <sfr@canb.auug.org.au> |
| Date: Wed, 15 Jan 2020 12:02:58 +1100 |
| Subject: [PATCH] regulator fix for "regulator: core: Add regulator_is_equal() |
| helper" |
| |
| commit 0468e667a5bead9c1b7ded92861b5a98d8d78745 upstream. |
| |
| Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> |
| Link: https://lore.kernel.org/r/20200115120258.0e535fcb@canb.auug.org.au |
| Acked-by: Marek Vasut <marex@denx.de> |
| Signed-off-by: Mark Brown <broonie@kernel.org> |
| Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> |
| |
| diff --git a/include/linux/regulator/consumer.h b/include/linux/regulator/consumer.h |
| index 2c89d886595c..6a92fd3105a3 100644 |
| --- a/include/linux/regulator/consumer.h |
| +++ b/include/linux/regulator/consumer.h |
| @@ -596,7 +596,7 @@ regulator_bulk_set_supply_names(struct regulator_bulk_data *consumers, |
| } |
| |
| static inline bool |
| -regulator_is_equal(struct regulator *reg1, struct regulator *reg2); |
| +regulator_is_equal(struct regulator *reg1, struct regulator *reg2) |
| { |
| return false; |
| } |
| -- |
| 2.7.4 |
| |