diff --git a/include/linux/regmap.h b/include/linux/regmap.h index f9b624c83464d42793beacba19cde613b83fa6c1..4191a42815876365fa18d27df3940c08e538af48 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h @@ -386,7 +386,6 @@ static inline int regmap_register_patch(struct regmap *map, static inline struct regmap *dev_get_regmap(struct device *dev, const char *name) { - WARN_ONCE(1, "regmap API is disabled"); return NULL; }