Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1371155ybj; Thu, 7 May 2020 23:05:45 -0700 (PDT) X-Google-Smtp-Source: APiQypKyk9zPNx4IwUXBoZP2nCPl9XHtsIS537AO8vYlPpEvBC2SMd4l3RXIJOI8zLmn+CqLZIfL X-Received: by 2002:aa7:d1d6:: with SMTP id g22mr874052edp.36.1588917944836; Thu, 07 May 2020 23:05:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588917944; cv=none; d=google.com; s=arc-20160816; b=K8wNF7p9rEBhs91RwIo4vXGuHJ6Espj36RAkqF0/EDDzGPvb0POect5SCj27K/Qnba sE7F25vrXCd6zuUIY/XA84z4zwHgsFQwhPPzv9Li+7h7JTHgKPZujO9kNJ01bRZr1FjR U3Z1K+F6/MqHaJAL++vgaURuZeUCeJA1PZnrNWKVre1hwmle67TWZ1OlxqA2n45PABAC AN+ukFAblhEQG/Jipwf6wUAaNfqs6kWuZAT4jLOCsbRhc+n4WmPDIKX6k9mHbjbyLIZi NeJ9hTgaJpTP+KzCmwbxHbRq7qyAjXGZZacIWaGq/LwFiNTloUDq7PWJ6jZ0GMvupeh2 Uy8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:ironport-sdr:ironport-sdr; bh=NBbbe4tM5o2jb8L9D54C1qiQJ8jGmmfDGIJM0nBDJBw=; b=jIw4LdiDUlzCsMMwZycOj+xPDVew23IiCv2tr3k9CO+F5yiCyMxIgqAaMeoX6/L+PB soopINyT6qr7G8lHUczzGU4hguLjgRqbIFkDdcFWBYPKrBMRKAYXsZpUhWKTSQirg6R9 nSvV+hyb3sYeYwiuOgMgWEP/2B71MKxx3OCxs5ubRIS5uU98dhusW179fVt0ze7F2fs8 rUS6YNerSMvR43OXzMAufLFJzWySkWfmq1+5IjVxqyBR4mAmEipf5hw0hjZVd4NN5A5T OYKv561rokWwmE7+UYKV/Gn9pdb4PvYeVaXute1aIgr4isdD9QHuhHmMSvIrTVAnyaSi 1gqg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y4si379111edv.549.2020.05.07.23.05.21; Thu, 07 May 2020 23:05:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727886AbgEHF6N (ORCPT + 99 others); Fri, 8 May 2020 01:58:13 -0400 Received: from esa2.mentor.iphmx.com ([68.232.141.98]:2688 "EHLO esa2.mentor.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727861AbgEHF6J (ORCPT ); Fri, 8 May 2020 01:58:09 -0400 IronPort-SDR: DeqnH3IJuKu7sI14hrg9Lm/RfBpAnFRkDfl4Sk7aqL1foMhWX7X9/dtxh+kl6bh6H/wC9PWGYx 9zIjOTKtX2VCYucIZqxVKEIPNfB5+t99bawfOzVotK8+xUHdTu1CtV245B9KOmcUYLe2xux3Kn LDurBA5MdmgbQvd8xdevQWPMcajdWqBJC8cwOeKBYoIsl6oCCzoaX+WQTvowgQSmA4kuDIUTpm pY/aXVggt6z1YfttyO2LJlHh6jEjfynMid+O2/8spOs/6gEIpMzscKG++2XFZrEmOjcPRYuM+N xks= X-IronPort-AV: E=Sophos;i="5.73,366,1583222400"; d="scan'208";a="48589078" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa2.mentor.iphmx.com with ESMTP; 07 May 2020 21:58:09 -0800 IronPort-SDR: YegAmgO5vzpL8ClT9FUBfT1ny6I0q4eS97gN4Js3egQyIICYn/Pt2nWfK58Z9dpkBMa4cmo+GT rdikdvr9GLeyX7QcTWvQTDqInRxRPf3TX0u/mH+NqI4C40bjRbGQOQvvB6t2H2TD8SBIAhrx1A P/JO8IhExLCEc7xPNUbdAkmygwVL3XMnZShY/A2eEoCY0qWoN1G0a6Jjib5/hU43ldnx6c5Y2d q0/bn1aRKftW22QG5iPMmDv70lIYZGD2UwEY8yeGFdIkJ1WT8VjQQTP06//6DEwgtLyjdhAndv 6ms= From: Jiada Wang To: , , , , CC: , , , , Subject: [PATCH v11 18/56] Input: atmel_mxt_ts: Rename mxt_hw_version_show to hw_version_show Date: Thu, 7 May 2020 22:56:18 -0700 Message-ID: <20200508055656.96389-19-jiada_wang@mentor.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200508055656.96389-1-jiada_wang@mentor.com> References: <20200508055656.96389-1-jiada_wang@mentor.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rename mxt_hw_version_show to hw_version_show to address checkpatch warning Signed-off-by: Jiada Wang --- drivers/input/touchscreen/atmel_mxt_ts.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c index b2a37a9597f3..cec823de4096 100644 --- a/drivers/input/touchscreen/atmel_mxt_ts.c +++ b/drivers/input/touchscreen/atmel_mxt_ts.c @@ -3114,8 +3114,8 @@ static ssize_t fw_version_show(struct device *dev, } /* Hardware Version is returned as FamilyID.VariantID */ -static ssize_t mxt_hw_version_show(struct device *dev, - struct device_attribute *attr, char *buf) +static ssize_t hw_version_show(struct device *dev, + struct device_attribute *attr, char *buf) { struct mxt_data *data = dev_get_drvdata(dev); struct mxt_info *info = data->info; @@ -3404,7 +3404,7 @@ static const struct attribute_group mxt_fw_attr_group = { }; static DEVICE_ATTR_RO(fw_version); -static DEVICE_ATTR(hw_version, S_IRUGO, mxt_hw_version_show, NULL); +static DEVICE_ATTR_RO(hw_version); static DEVICE_ATTR(object, S_IRUGO, mxt_object_show, NULL); static struct attribute *mxt_attrs[] = { -- 2.17.1