flash: Rename init_flash_dev to flash_dev_init

Change-Id: I6b9a916053baf09c34100dcb5262a4b66a44bc80
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/test/mbox.c b/test/mbox.c
index 7e03292..b45f42f 100644
--- a/test/mbox.c
+++ b/test/mbox.c
@@ -242,7 +242,7 @@
 	assert(rc == 0);
 	test.context.fds[MBOX_FD].fd = test.mbox.fd;
 
-	rc = init_flash_dev(&test.context);
+	rc = flash_dev_init(&test.context);
 	assert(rc == 0);
 
 	rc = fallocate(test.flash.fd, 0, 0, test.context.mtd_info.size);