Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp323114imm; Thu, 2 Aug 2018 20:07:22 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeZrQxViUJiQkbFeemvpkd/k4BILUG5KB1HVHluSiyfrYXiAtELF8ylXlICYRsFOkv3Spkw X-Received: by 2002:a17:902:209:: with SMTP id 9-v6mr1834608plc.270.1533265642212; Thu, 02 Aug 2018 20:07:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533265642; cv=none; d=google.com; s=arc-20160816; b=tEh1tZQJEISlTQaA282Qs/G4WGH3ES6X4A4zDW+7vka955UCTs9M/EGtIjkWOrNAVJ tEXy5sVyLfBqlEyz6/55oX2XZWqq95MJenHtYXElozL8Yo9nTGVfVwnYSuaqBXtIPVp6 HW3BC/dFP2itx7MQnL9blfOVuXFSmNvmmmiy8jeYK1YJ1IXuyVR+7JWTgcktBlLhKCFP +G1PMj+EpmRDOUu9rZii5OVP4gtUiMeX2HeVXgOqF81zOOAF4zQwpM436XE5Fc4LsArl C/gaQXrmHFujsKUwKsa3gzC00x0MhbL5dedFNJ6jTuvRYDf+7XklsKWKzw4PduSmVMiU mkIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=EHcmBenMMV7EdKInPrgM9FG4TVX4JmPDoAep0ZJ9yBQ=; b=PNSqnq3KyhPped6XvNThWpyhhTcEDzwDJPLpReBpxWHF0+k+nqVPqELqofrChJGabD mCZXX7EUfRXmPVm4JeC/UlPfHWhnd0tOV55uXwsI+ETl1w5zyVkWh6Q0kSy+YaJiw7Ul Nvv+fUMjImmkgWhQFzY1t6mcj7GRO6uGVU9lLp3Glps282tEEyaZ40w2TYyA39y+sk6L OH5WTGHTzpqe2YJSepKohe39Jtw2DABTI6rJG1HhTHGJQFSEFAAs01ZjngsckENOOwU0 tJnssrYHhjaYEgJrjDOHsPhfJqGr4xwpv5Gbl0GcpQBHmPgJFAcdne07EL25oCgQ31th qZXQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o81-v6si3795301pfj.350.2018.08.02.20.07.07; Thu, 02 Aug 2018 20:07:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727246AbeHCFA2 (ORCPT + 99 others); Fri, 3 Aug 2018 01:00:28 -0400 Received: from mga04.intel.com ([192.55.52.120]:56304 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726315AbeHCFA2 (ORCPT ); Fri, 3 Aug 2018 01:00:28 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Aug 2018 20:06:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,437,1526367600"; d="scan'208";a="250723291" Received: from sgsxdev001.isng.intel.com (HELO localhost) ([10.226.88.11]) by fmsmga005.fm.intel.com with ESMTP; 02 Aug 2018 20:04:18 -0700 From: Songjun Wu To: hua.ma@linux.intel.com, yixin.zhu@linux.intel.com, chuanhua.lei@linux.intel.com, qi-ming.wu@intel.com Cc: linux-mips@linux-mips.org, linux-clk@vger.kernel.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, Songjun Wu , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Jiri Slaby Subject: [PATCH v2 12/18] serial: intel: Rename fpiclk to freqclk Date: Fri, 3 Aug 2018 11:02:31 +0800 Message-Id: <20180803030237.3366-13-songjun.wu@linux.intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180803030237.3366-1-songjun.wu@linux.intel.com> References: <20180803030237.3366-1-songjun.wu@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rename fpiclk to freqclk. Signed-off-by: Songjun Wu --- Changes in v2: None drivers/tty/serial/lantiq.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/tty/serial/lantiq.c b/drivers/tty/serial/lantiq.c index 2e1b35b1cf4d..28086d52e980 100644 --- a/drivers/tty/serial/lantiq.c +++ b/drivers/tty/serial/lantiq.c @@ -106,7 +106,7 @@ static DEFINE_SPINLOCK(ltq_asc_lock); struct ltq_uart_port { struct uart_port port; /* clock used to derive divider */ - struct clk *fpiclk; + struct clk *freqclk; /* clock gating of the ASC core */ struct clk *clk; unsigned int tx_irq; @@ -310,7 +310,7 @@ lqasc_startup(struct uart_port *port) if (!IS_ERR(ltq_port->clk)) clk_enable(ltq_port->clk); - port->uartclk = clk_get_rate(ltq_port->fpiclk); + port->uartclk = clk_get_rate(ltq_port->freqclk); asc_update_bits(ASCCLC_DISS | ASCCLC_RMCMASK, (1 << ASCCLC_RMCOFFSET), port->membase + LTQ_ASC_CLC); @@ -633,7 +633,7 @@ lqasc_console_setup(struct console *co, char *options) if (!IS_ERR(ltq_port->clk)) clk_enable(ltq_port->clk); - port->uartclk = clk_get_rate(ltq_port->fpiclk); + port->uartclk = clk_get_rate(ltq_port->freqclk); if (options) uart_parse_options(options, &baud, &parity, &bits, &flow); @@ -744,8 +744,8 @@ lqasc_probe(struct platform_device *pdev) port->irq = irqres[0].start; port->mapbase = mmres->start; - ltq_port->fpiclk = clk_get_fpi(); - if (IS_ERR(ltq_port->fpiclk)) { + ltq_port->freqclk = clk_get_fpi(); + if (IS_ERR(ltq_port->freqclk)) { pr_err("failed to get fpi clk\n"); return -ENOENT; } -- 2.11.0