[PATCH linux dev-4.13 03/16] fsi: sbefifo: Rename sbefifo_release_client() for consistency
Andrew Jeffery
andrew at aj.id.au
Tue Feb 20 15:18:31 AEDT 2018
We have sbefifo_new_client(), which feels unmatched by the currently named
sbefifo_client_release().
Signed-off-by: Andrew Jeffery <andrew at aj.id.au>
---
drivers/fsi/fsi-sbefifo.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/fsi/fsi-sbefifo.c b/drivers/fsi/fsi-sbefifo.c
index 92947b0fa279..699de6b9a4eb 100644
--- a/drivers/fsi/fsi-sbefifo.c
+++ b/drivers/fsi/fsi-sbefifo.c
@@ -314,7 +314,7 @@ static struct sbefifo_client *sbefifo_new_client(struct sbefifo *sbefifo)
return client;
}
-static void sbefifo_client_release(struct kref *kref)
+static void sbefifo_release_client(struct kref *kref)
{
struct sbefifo *sbefifo;
struct sbefifo_client *client;
@@ -353,7 +353,7 @@ static void sbefifo_get_client(struct sbefifo_client *client)
static void sbefifo_put_client(struct sbefifo_client *client)
{
- kref_put(&client->kref, sbefifo_client_release);
+ kref_put(&client->kref, sbefifo_release_client);
}
static struct sbefifo_xfr *sbefifo_next_xfr(struct sbefifo *sbefifo)
--
2.14.1
More information about the openbmc
mailing list