linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] i2c-nomadik: fix kerneldoc warning
@ 2011-06-15 10:42 Linus Walleij
       [not found] ` <1308134522-30858-1-git-send-email-linus.walleij-0IS4wlFg1OjSUeElwK9/Pw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Linus Walleij @ 2011-06-15 10:42 UTC (permalink / raw)
  To: Ben Dooks, linux-i2c-u79uwXL29TY76Z2rM5mHXA; +Cc: Lee Jones, Linus Walleij

From: Linus Walleij <linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>

There was a missing struct item in the kerneldoc, add it and fix
another pretty-printing formatting issue with a missing space.

Signed-off-by: Linus Walleij <linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
---
 drivers/i2c/busses/i2c-nomadik.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/i2c/busses/i2c-nomadik.c b/drivers/i2c/busses/i2c-nomadik.c
index f9b8854..b228e09 100644
--- a/drivers/i2c/busses/i2c-nomadik.c
+++ b/drivers/i2c/busses/i2c-nomadik.c
@@ -146,6 +146,7 @@ struct i2c_nmk_client {
  * @stop: stop condition
  * @xfer_complete: acknowledge completion for a I2C message
  * @result: controller propogated result
+ * @regulator: pointer to i2c regulator
  * @busy: Busy doing transfer
  */
 struct nmk_i2c_dev {
@@ -509,7 +510,7 @@ static int write_i2c(struct nmk_i2c_dev *dev)
 
 	if (timeout < 0) {
 		dev_err(&dev->pdev->dev,
-			"wait_for_completion_timeout"
+			"wait_for_completion_timeout "
 			"returned %d waiting for event\n", timeout);
 		status = timeout;
 	}
-- 
1.7.3.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] i2c-nomadik: fix kerneldoc warning
       [not found] ` <1308134522-30858-1-git-send-email-linus.walleij-0IS4wlFg1OjSUeElwK9/Pw@public.gmane.org>
@ 2011-06-27 22:04   ` Ben Dooks
       [not found]     ` <20110627220449.GB23027-RazCHl0VsYgkUSuvROHNpA@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Ben Dooks @ 2011-06-27 22:04 UTC (permalink / raw)
  To: Linus Walleij
  Cc: Ben Dooks, linux-i2c-u79uwXL29TY76Z2rM5mHXA, Lee Jones,
	Linus Walleij

On Wed, Jun 15, 2011 at 12:42:02PM +0200, Linus Walleij wrote:
> From: Linus Walleij <linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> 
> There was a missing struct item in the kerneldoc, add it and fix
> another pretty-printing formatting issue with a missing space.

weird, it didn't apply to 3.0-rc4.

i'll let the two things in one patch slide for this one.
 
> Signed-off-by: Linus Walleij <linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> ---
>  drivers/i2c/busses/i2c-nomadik.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/i2c/busses/i2c-nomadik.c b/drivers/i2c/busses/i2c-nomadik.c
> index f9b8854..b228e09 100644
> --- a/drivers/i2c/busses/i2c-nomadik.c
> +++ b/drivers/i2c/busses/i2c-nomadik.c
> @@ -146,6 +146,7 @@ struct i2c_nmk_client {
>   * @stop: stop condition
>   * @xfer_complete: acknowledge completion for a I2C message
>   * @result: controller propogated result
> + * @regulator: pointer to i2c regulator
>   * @busy: Busy doing transfer
>   */
>  struct nmk_i2c_dev {
> @@ -509,7 +510,7 @@ static int write_i2c(struct nmk_i2c_dev *dev)
>  
>  	if (timeout < 0) {
>  		dev_err(&dev->pdev->dev,
> -			"wait_for_completion_timeout"
> +			"wait_for_completion_timeout "
>  			"returned %d waiting for event\n", timeout);
>  		status = timeout;
>  	}
> -- 
> 1.7.3.2
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] i2c-nomadik: fix kerneldoc warning
       [not found]     ` <20110627220449.GB23027-RazCHl0VsYgkUSuvROHNpA@public.gmane.org>
@ 2011-06-28  5:25       ` Linus Walleij
  0 siblings, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2011-06-28  5:25 UTC (permalink / raw)
  To: Ben Dooks
  Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Lee Jones,
	Linus Walleij, Srinidhi KASAGAR

On 06/28/2011 12:04 AM, Ben Dooks wrote:
> On Wed, Jun 15, 2011 at 12:42:02PM +0200, Linus Walleij wrote:
>    
>> From: Linus Walleij<linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
>>
>> There was a missing struct item in the kerneldoc, add it and fix
>> another pretty-printing formatting issue with a missing space.
>>      
> weird, it didn't apply to 3.0-rc4.
>    

In my topic branch I also have a patch from Srinidhi Kasagar
titled "i2c-nomadik: Do not use _interruptible_ variant call",
that went on the list some time back, could it be that you
missed that one?

If you want to I can resend it.

Thanks,
Linus Walleij

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-06-28  5:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-15 10:42 [PATCH] i2c-nomadik: fix kerneldoc warning Linus Walleij
     [not found] ` <1308134522-30858-1-git-send-email-linus.walleij-0IS4wlFg1OjSUeElwK9/Pw@public.gmane.org>
2011-06-27 22:04   ` Ben Dooks
     [not found]     ` <20110627220449.GB23027-RazCHl0VsYgkUSuvROHNpA@public.gmane.org>
2011-06-28  5:25       ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).