Re: [PATCH] regulator: Add devm_regulator_get()

From: Mark Brown
Date: Tue Jan 17 2012 - 06:04:57 EST


On Mon, Jan 16, 2012 at 07:39:58PM -0800, Stephen Boyd wrote:

> @@ -200,6 +202,11 @@ static inline struct regulator *__must_check regulator_get(struct device *dev,
> */
> return NULL;
> }
> +static inline struct regulator *__must_check
> +devm_regulator_get(struct device *dev, const char *id)
> +{
> + return NULL;
> +}
> static inline void regulator_put(struct regulator *regulator)
> {
> }

Oh, and it's not obvious from the diff but blank lines please like the
adjacent code.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/