rpmsg: char: Rename rpmsg_char_init to rpmsg_chrdev_init

To be coherent with the other functions which are prefixed by
rpmsg_chrdev, rename the rpmsg_char_init function.

Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Link: https://lore.kernel.org/r/20210311140413.31725-2-arnaud.pouliquen@foss.st.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
Arnaud Pouliquen 2021-03-11 15:04:08 +01:00 committed by Bjorn Andersson
parent a38fd87484
commit 60d7b22d25
1 changed files with 2 additions and 2 deletions

View File

@ -543,7 +543,7 @@ static struct rpmsg_driver rpmsg_chrdev_driver = {
},
};
static int rpmsg_char_init(void)
static int rpmsg_chrdev_init(void)
{
int ret;
@ -569,7 +569,7 @@ static int rpmsg_char_init(void)
return ret;
}
postcore_initcall(rpmsg_char_init);
postcore_initcall(rpmsg_chrdev_init);
static void rpmsg_chrdev_exit(void)
{