[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAF+7xWn2AkcEyOb5FmXNbGA7U2=n83kvAz+=GGLMh+8yNm8UKw@mail.gmail.com>
Date: Sun, 29 Jan 2012 17:42:51 +0800
From: Axel Lin <axel.lin@...il.com>
To: linux-kernel@...r.kernel.org
Cc: Liam Girdwood <lrg@...com>,
Mark Brown <broonie@...nsource.wolfsonmicro.com>
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists