Messages in this thread | | | From | Axel Lin <> | Date | Sun, 29 Jan 2012 17:42:51 +0800 | Subject | Re: [PATCH] regulator: Add empty devm_regulator_free for !CONFIG_REGULATOR |
| |
> +static inline void devm_regulator_free(struct regulator *regulator) > +{ > +} > +
Oh wait. I found commit d5ad34f7cb "regulator: Implement devm_regulator_free()" has declared devm_regulator_free in include/linux/regulator/consumer.h But it actually implements devm_regulator_put instead of devm_regulator_free.
Mark, I guess what you want is to declare devm_regulator_put instead of devm_regulator_free in consumer.h.
Regards, Axel > static inline int regulator_enable(struct regulator *regulator) > { > return 0; > -- > 1.7.5.4 > > > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |