[PATCH][Trivial] isl29020: Remove a redundant semi-colon from returnstatement

From: Jesper Juhl
Date: Sat Dec 17 2011 - 17:53:54 EST


Subject: [PATCH] isl29020: Remove a redundant semi-colon from return statement

One is enough.

Signed-off-by: Jesper Juhl <jj@xxxxxxxxxxxxx>
---
drivers/misc/isl29020.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/misc/isl29020.c b/drivers/misc/isl29020.c
index 307aada..3d6cce6 100644
--- a/drivers/misc/isl29020.c
+++ b/drivers/misc/isl29020.c
@@ -158,7 +158,7 @@ static int als_set_default_config(struct i2c_client *client)
dev_err(&client->dev, "default write failed.");
return retval;
}
- return 0;;
+ return 0;
}

static int isl29020_probe(struct i2c_client *client,
--
1.7.8


--
Jesper Juhl <jj@xxxxxxxxxxxxx> http://www.chaosbits.net/
Don't top-post http://www.catb.org/jargon/html/T/top-post.html
Plain text mails only, please.

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