mfd: wm831x-core: Fix incorrect function name wm831x_reg_unlock()
[platform/kernel/linux-starfive.git] / drivers / mfd / wm831x-core.c
index bcef08f..c31809b 100644 (file)
@@ -109,7 +109,7 @@ 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,