Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp1426471ybf; Thu, 27 Feb 2020 10:45:54 -0800 (PST) X-Google-Smtp-Source: APXvYqwFZeSHWcXQP5KhuZtrBAlz57PKOTs0HzwxZWX5Q4QDEVJdbwZ2v9RPgaMig5i8sfSEMKIF X-Received: by 2002:a9d:7613:: with SMTP id k19mr272566otl.144.1582829154253; Thu, 27 Feb 2020 10:45:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582829154; cv=none; d=google.com; s=arc-20160816; b=kQALqjdpS8LsP564lNHiOf7/ZQn8sowGIPkJd99K1qEEZd9/9s7+E5rHcclJnSvoOS bkmUl6UjFFS/69ReBna2huOghTENDA5LAK5aodsZJmYqyJBId3LU6bFTmyRYvTp5ZNu/ sp0yeFrzj3x/yZkdamBVzG2iJP6XwN+HyVcmBFhkFD0aca3sMVHi1OmXWEbMElcb/H1s TT259A+Ra9DOlEaCQb8fUXugPimT6NoL9xNj7r5byy9Zavf/8AhMhFjSEGWdsrb6aJTk ZfvXmLUwwa+S+irmE8mGDTRxj6QskMa8Amr6LqldtzwhhugTa7sG5hFu7XOrXI1uG3fY 4QZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=yQMhnAs6/2i4Vbzp9EeB7/iL+FC+fpQaF/PdQma5zCc=; b=RtSlVu7EN2uG2TFFDGy2nzWx4UvRMHfVEEjVqRt3VnvyJvlbK2KkGFPXzR2/EvGNck dB7U/RT3wVYjmYUG/6+/SgeaqQTzQCqfswmvjDz+iW/hbrByIwQMy9xJYi/l6TCOkwG4 qbwnj4CPlg2Bk348V3M5kCVI+VAaSz2vOkQLYCZruY/2qhF2gXR+yWEhXoXYtNm2KSvV DR/04/LzcLC23d2beosbEIyP1ZEmryG2oLJl/hPA0soNQkPc/M/4UCSMS2USfMJNJugu r8m/7EMHxIds1cx/SEbRN8fIXi6eYrxFKqsYV/3iYAlu2PYLqu2Ag70GmfILIebn031S 7cNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=cptdtmKN; 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=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t12si330109oij.179.2020.02.27.10.45.41; Thu, 27 Feb 2020 10:45:54 -0800 (PST) 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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=cptdtmKN; 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=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729799AbgB0Snv (ORCPT + 99 others); Thu, 27 Feb 2020 13:43:51 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:35872 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726805AbgB0Snv (ORCPT ); Thu, 27 Feb 2020 13:43:51 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 01RIhinI024769; Thu, 27 Feb 2020 12:43:44 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1582829024; bh=yQMhnAs6/2i4Vbzp9EeB7/iL+FC+fpQaF/PdQma5zCc=; h=From:To:CC:Subject:Date; b=cptdtmKNqL2P3tjADAMcVPvuRBdXnEY+VkexzgJPvN7srZgpuCaOmEh55kiyOTIZ0 dMvDYJvXo/OdqwDy06zwyhuG2VE2HBiN2InBGKeS/RbJpcw9pLeG7nNviyInrGZrNg rBRpa0zG6BclDPvLycK+BJC1fAsD9/zF2KaAJqV4= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 01RIhiE3011352 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 27 Feb 2020 12:43:44 -0600 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Thu, 27 Feb 2020 12:43:44 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Thu, 27 Feb 2020 12:43:43 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 01RIhh0Q113174; Thu, 27 Feb 2020 12:43:43 -0600 From: Dan Murphy To: , CC: , , Dan Murphy Subject: [RESEND PATCH can-next 1/2] can: tcan4x5x: Rename parse_config function Date: Thu, 27 Feb 2020 12:38:28 -0600 Message-ID: <20200227183829.21854-1-dmurphy@ti.com> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rename the tcan4x5x_parse_config function to tcan4x5x_get_gpios since the function retrieves the gpio configurations from the firmware. Signed-off-by: Dan Murphy --- drivers/net/can/m_can/tcan4x5x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/can/m_can/tcan4x5x.c b/drivers/net/can/m_can/tcan4x5x.c index 9821babef55e..37d53ecc560b 100644 --- a/drivers/net/can/m_can/tcan4x5x.c +++ b/drivers/net/can/m_can/tcan4x5x.c @@ -381,7 +381,7 @@ static int tcan4x5x_disable_state(struct m_can_classdev *cdev) TCAN4X5X_DISABLE_INH_MSK, 0x01); } -static int tcan4x5x_parse_config(struct m_can_classdev *cdev) +static int tcan4x5x_get_gpios(struct m_can_classdev *cdev) { struct tcan4x5x_priv *tcan4x5x = cdev->device_data; int ret; @@ -507,7 +507,7 @@ static int tcan4x5x_can_probe(struct spi_device *spi) if (ret) return ret; - ret = tcan4x5x_parse_config(mcan_class); + ret = tcan4x5x_get_gpios(mcan_class); if (ret) goto out_power; -- 2.25.0