i2c-nomadik: fix kerneldoc warning
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 9 Aug 2011 18:17:29 +0000 (20:17 +0200)
committerBen Dooks <ben-linux@fluff.org>
Wed, 24 Aug 2011 22:28:49 +0000 (23:28 +0100)
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@linaro.org>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-nomadik.c

index f9b8854fe0a53666dbc38a2cdf3f2186c7e2453f..b228e09c5d05aca9fbbfb6e639d1ba2fe0d9bcf4 100644 (file)
@@ -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;
        }