Re: [PATCH] regulator: Add devm_regulator_get()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-doc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux