Re: [PATCH] regulator: Add devm_regulator_get()

From: Stephen Boyd
Date: Tue Jan 17 2012 - 11:54:50 EST


On 01/17/12 03:04, Mark Brown wrote:
> 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.

Should I resend or are you ok with adding the newline there yourself?

--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.

--
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/