lpc: Rename free_lpc_dev to lpc_dev_free
Change-Id: I515ca2aad13d43698c3f4c9fed270d719b92f0f6
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/lpc.c b/lpc.c
index f4bfcd9..a260c78 100644
--- a/lpc.c
+++ b/lpc.c
@@ -84,7 +84,7 @@
return __lpc_dev_init(context, LPC_CTRL_PATH);
}
-void free_lpc_dev(struct mbox_context *context)
+void lpc_dev_free(struct mbox_context *context)
{
if (context->mem) {
munmap(context->mem, context->mem_size);
diff --git a/lpc.h b/lpc.h
index 3c42950..4eec424 100644
--- a/lpc.h
+++ b/lpc.h
@@ -5,7 +5,7 @@
#define LPC_H
int lpc_dev_init(struct mbox_context *context);
-void free_lpc_dev(struct mbox_context *context);
+void lpc_dev_free(struct mbox_context *context);
int point_to_flash(struct mbox_context *context);
int point_to_memory(struct mbox_context *context);
int reset_lpc(struct mbox_context *context);
diff --git a/mboxd.c b/mboxd.c
index 9265b6d..541e117 100644
--- a/mboxd.c
+++ b/mboxd.c
@@ -405,7 +405,7 @@
dbus_free(context);
flash_dev_free(context);
- free_lpc_dev(context);
+ lpc_dev_free(context);
free_mbox_dev(context);
free_windows(context);
#ifdef VIRTUAL_PNOR_ENABLED