[PATCH] mfd: Fix comment cut'n'paste in register lock code

From: Mark Brown
Date: Mon Jul 27 2009 - 11:00:45 EST


Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
---
drivers/mfd/wm831x-core.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/mfd/wm831x-core.c b/drivers/mfd/wm831x-core.c
index 49b7885..05e5724 100644
--- a/drivers/mfd/wm831x-core.c
+++ b/drivers/mfd/wm831x-core.c
@@ -115,11 +115,11 @@ static int wm831x_reg_locked(struct wm831x *wm831x, unsigned short reg)
}

/**
- * wm831x_reg_unlock: Unlock user keyed registers
+ * wm831x_reg_lock: Unlock user keyed registers
*
* The WM831x has a user key preventing writes to particularly
* critical registers. This function locks those registers,
- * allowing writes to them.
+ * disallowing writes to them.
*/
void wm831x_reg_lock(struct wm831x *wm831x)
{
@@ -145,7 +145,7 @@ EXPORT_SYMBOL_GPL(wm831x_reg_lock);
*
* The WM831x has a user key preventing writes to particularly
* critical registers. This function locks those registers,
- * preventing spurious writes.
+ * allowing writes to them.
*/
int wm831x_reg_unlock(struct wm831x *wm831x)
{
--
1.6.3.3

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