diff mbox

[RFC,1/3] dvb_frontend: Rename the dvb_frontend_init() function

Message ID 20170823212039.27751-2-laurent.pinchart+renesas@ideasonboard.com (mailing list archive)
State New, archived
Headers show

Commit Message

Laurent Pinchart Aug. 23, 2017, 9:20 p.m. UTC
We need the dvb_frontend_init() name for a new function that will
initialize a frontend structure. Rename the existing function.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
---
 drivers/media/dvb-core/dvb_frontend.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox

Patch

diff --git a/drivers/media/dvb-core/dvb_frontend.c b/drivers/media/dvb-core/dvb_frontend.c
index e3fff8f64d37..f8caedc83d70 100644
--- a/drivers/media/dvb-core/dvb_frontend.c
+++ b/drivers/media/dvb-core/dvb_frontend.c
@@ -309,7 +309,7 @@  static void dvb_frontend_clear_events(struct dvb_frontend *fe)
 	mutex_unlock(&events->mtx);
 }
 
-static void dvb_frontend_init(struct dvb_frontend *fe)
+static void dvb_frontend_initialise(struct dvb_frontend *fe)
 {
 	dev_dbg(fe->dvb->device,
 			"%s: initialising adapter %i frontend %i (%s)...\n",
@@ -645,7 +645,7 @@  static int dvb_frontend_thread(void *data)
 	fepriv->wakeup = 0;
 	fepriv->reinitialise = 0;
 
-	dvb_frontend_init(fe);
+	dvb_frontend_initialise(fe);
 
 	set_freezable();
 	while (1) {
@@ -671,7 +671,7 @@  static int dvb_frontend_thread(void *data)
 			break;
 
 		if (fepriv->reinitialise) {
-			dvb_frontend_init(fe);
+			dvb_frontend_initialise(fe);
 			if (fe->ops.set_tone && fepriv->tone != -1)
 				fe->ops.set_tone(fe, fepriv->tone);
 			if (fe->ops.set_voltage && fepriv->voltage != -1)