From patchwork Wed Aug 23 21:20:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 9918393 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7BCD1600C5 for ; Wed, 23 Aug 2017 21:20:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5C07928A98 for ; Wed, 23 Aug 2017 21:20:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DAA3A28ABF; Wed, 23 Aug 2017 21:20:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0040E28A92 for ; Wed, 23 Aug 2017 21:20:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932565AbdHWVUN (ORCPT ); Wed, 23 Aug 2017 17:20:13 -0400 Received: from galahad.ideasonboard.com ([185.26.127.97]:60384 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751774AbdHWVUM (ORCPT ); Wed, 23 Aug 2017 17:20:12 -0400 Received: from avalon.bb.dnainternet.fi (dfj612ybrt5fhg77mgycy-3.rev.dnainternet.fi [IPv6:2001:14ba:21f5:5b00:2e86:4862:ef6a:2804]) by galahad.ideasonboard.com (Postfix) with ESMTPSA id 60E26204E0; Wed, 23 Aug 2017 23:18:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1503523122; bh=lLLmvSPw3LFzrq9+b0MI7y0DxHygrfJm3GSaEvyzE1Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IYr9/9G4cp76Aaqf0PiKjfmGh9kaul4LY/mMinFYdbIJOo4I4lHnThCKK9tW1wB4w aJTBchoSbtSIKC+VpVega/dCa2VO//je13OnienfTR3Fl5zZwEvuxvTRYMritOLqFI /sF6D+c2Hrj00UWG2KGZEulay5eq/LT490g0PPqY= From: Laurent Pinchart To: Mauro Carvalho Chehab Cc: Shuah Khan , linux-media@vger.kernel.org, Max Kellermann Subject: [RFC 1/3] dvb_frontend: Rename the dvb_frontend_init() function Date: Thu, 24 Aug 2017 00:20:37 +0300 Message-Id: <20170823212039.27751-2-laurent.pinchart+renesas@ideasonboard.com> X-Mailer: git-send-email 2.13.5 In-Reply-To: <20170823212039.27751-1-laurent.pinchart+renesas@ideasonboard.com> References: <20170823212039.27751-1-laurent.pinchart+renesas@ideasonboard.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- drivers/media/dvb-core/dvb_frontend.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)