diff options
| -rw-r--r-- | include/linux/regmap.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/regmap.h b/include/linux/regmap.h index f9b624c83464..4191a4281587 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h | |||
| @@ -386,7 +386,6 @@ static inline int regmap_register_patch(struct regmap *map, | |||
| 386 | static inline struct regmap *dev_get_regmap(struct device *dev, | 386 | static inline struct regmap *dev_get_regmap(struct device *dev, |
| 387 | const char *name) | 387 | const char *name) |
| 388 | { | 388 | { |
| 389 | WARN_ONCE(1, "regmap API is disabled"); | ||
| 390 | return NULL; | 389 | return NULL; |
| 391 | } | 390 | } |
| 392 | 391 | ||
