Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp624004ybb; Wed, 25 Mar 2020 06:35:50 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsAlFoNjozRZJd/sKlN9ZtAg5b2T2yQdymhkK5YsMBJ0bCN3fLHyw/jH0ZNG1qlWaWUzdTO X-Received: by 2002:a9d:6c4c:: with SMTP id g12mr2300751otq.351.1585143350424; Wed, 25 Mar 2020 06:35:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585143350; cv=none; d=google.com; s=arc-20160816; b=L5pXoDwEjrLqRLSGXgMDw9xW6lt/fJmyLIJ1s/8vid9vC/Jm4o8FqeMfHb/xmXvTJD LQwrY+w1gP65b5IqnCiHe8+1P5x61U6Nv2DCh0J9WKYlQ6dpNuyN+GtBgNPis1M85ZjO dL2n08DCmxZiwBxdfd5VKixzMIqxY0sXSIphS16EnkHh66jBOQxeBCAELcLPDmb2ja4e HmIOjsXH6HlC2znf5+vY+Tjh5+316t+++afDQgqRMjfTxI2IZWKMk0bJ0dFcXjl+vL1r 0eObay2Aa2xO0glJg0pyPZzQR+4v+1rWpJ8022MuKe2vODJ6vDQkFatIerLxWyuPfG+d SeEg== 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=ztg+SMi+XRqyLefmm5wXA6ru91BdV2EmIndoc1/hPj955gu/IOLOQBxyVDIlnIF2bE L1Mx1/qJOj1jq8MVh4gGUdZ/yoHdlIamro5WQhMiq6Y96CThsQL2h7NDWrhv8Tky/I4J 6y7diomg99y9dwDCYNv3WlasaGL5vMq3XR2ED1+UCG4r7Fc06gDHhbRoe4wWt6CxEfEs pRg9JSr3K/s0WPwaJreFBTKdoMIzx9ho1bCPPqdlrVXeo5DOK8Yg7NFfTTW2g/EqhPmq muU6eoFJ03Tr01zAasYVL3y8cCCsu1I4ks1IwbrpuXr8g5o/6DxNB1BDoS2q5ft66Tnj 6x7Q== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w203si11240453oig.54.2020.03.25.06.35.37; Wed, 25 Mar 2020 06:35:50 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727770AbgCYNez (ORCPT + 99 others); Wed, 25 Mar 2020 09:34:55 -0400 Received: from esa3.mentor.iphmx.com ([68.232.137.180]:53145 "EHLO esa3.mentor.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727710AbgCYNex (ORCPT ); Wed, 25 Mar 2020 09:34:53 -0400 IronPort-SDR: DpIG5Gr/O6NHwOw1zfbUESv7+24PMzogrPa0Qxl44wZnFndKWiX/ngi+rPyEERZYi7B0JaEs3S Sl5xPmEsNvf/l4evhrujaCGuZc+kYDPmM38UmqNifItCZNtRhIpFBHg5+t4wWiARUoFw0L47+V lLgL3JE+9+DI9xBSt6kz0iprNd1yBp6UmrLnYDh8vpp1P1ycObD0D5POmSLzhhuDulpSEzzuzi VHHRQuuCcIWa+/we8QNT9onZ27Lfo7xVmBI47pzz8pNUTNba2zI+sxtnljB8eIiS+Rk6adH42Z kYw= X-IronPort-AV: E=Sophos;i="5.72,304,1580803200"; d="scan'208";a="47099693" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa3.mentor.iphmx.com with ESMTP; 25 Mar 2020 05:34:52 -0800 IronPort-SDR: PxBTxbyOwJzTul9131HVMOGdH69HbU0IPV7mPOGQk///y8RwjRc5v9Df9A7dDqfAYAmkUKPpLp ntlaOqpNXa2aw1Mbify3hCdvhPdR5to0cVobfzU1/ElFLa7OJ1tOKJzqDyCEpY2kIeHMwkG6HC 5To+MhjNWI5yKvCL7piIZDZ0cmoCfv6fEt5ddIOBskVaTf6/3vurEFV5ifmGy8xAZZI7ErHh2G 7OYxTcpqCprGr8Y5xs+jl68cHHLo5roTL9ZUO6DqcAeyMlzcAqkmk4lha8McoQSyy3jYvK+CMg qFA= From: Jiada Wang To: , , , , , CC: , , , , Subject: [PATCH v9 18/55] Input: atmel_mxt_ts: Rename mxt_hw_version_show to hw_version_show Date: Wed, 25 Mar 2020 06:32:57 -0700 Message-ID: <20200325133334.19346-19-jiada_wang@mentor.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200325133334.19346-1-jiada_wang@mentor.com> References: <20200325133334.19346-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