Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1367705ybj; Thu, 7 May 2020 23:00:51 -0700 (PDT) X-Google-Smtp-Source: APiQypLVSU2i/sVoTl4aHJAs/F2VOGdn8pbo32kwB64YkQps13I2FoN4sKvEf6RG7YvZZ8/F1+Pu X-Received: by 2002:a17:906:4903:: with SMTP id b3mr494804ejq.80.1588917651117; Thu, 07 May 2020 23:00:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588917651; cv=none; d=google.com; s=arc-20160816; b=iYFx8Cx1cRgpk5tIvFTJaNPa4H+23mfekCEkHoJBMskQuETeWn1YrPEItIbY46LsyK tvkngyPyLJYCyGDtUBU7xLSKPtap8axDVQrd3DeQUVXUaUi4zMhgc5J4n3RxpFEFUIwj UDJ4q6G+SWFy7T4S+UxBKh0Fi+u+6OZTraaDb0FSRPFZ6XkZdmRkjHE3f84028IIH2DL /DJ9odx5Hp7QeM4bHembkiNuI3G3I1BcZxfPp6mgcnJ5JJuMaW2U+ZS2f/oqDHYZ9i0a JoJD7Wex+/0PVJI4nVHGhhhWkAsvfXzg53yUAGlUaS7dRUEoydnjamQEwkm51OWz3m2Z jdOA== 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=p22JHH0cknXJhdMs4oCbo4zxcmE2CVUQQZO1xH6jmQk=; b=rQo+ngZGcihz7zFcQWe4YeWHU1nFLL7HTZOr3y3n3xAArfCBQbIZM/VLJjMGUqOYxd HC+Zyc6VZaS4Ycf8KuLYJIQEAL5PulX4kAvFhda7izknVhTTqMygs5L1LHmHFwdl+H9D ktdVyDiis2uXeI7CXqjbxNutKRd/hBlScBr84pgSknkYdURSJvyJQiIxsL3GJtE/KjXq QIjMhbzJy9gCUd73idT/ct3nX61BWrG+5n8dCFVKYpO7axxHCxkZpQCPc8b8xDFzG/G+ xSeSKmSsYXr8+h5VgG97XW9G4J+1l2rYo/0fUcxH57x8IAdPXzaGAlfXnDRAMErjbyqu hk2g== 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 u19si403800edd.364.2020.05.07.23.00.28; Thu, 07 May 2020 23:00:51 -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 S1726937AbgEHF6Q (ORCPT + 99 others); Fri, 8 May 2020 01:58:16 -0400 Received: from esa2.mentor.iphmx.com ([68.232.141.98]:2686 "EHLO esa2.mentor.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727839AbgEHF6I (ORCPT ); Fri, 8 May 2020 01:58:08 -0400 IronPort-SDR: SHi+DY//0g+rfhPMbYviJCg6GCX9IXkEoKyG9V97MTnOae+Faq4R6ef5WfHtuiD+J65pNRmxXP XHem2Vd4lXwHM89nF8XIq8crska4ZtoZSe2V3NnFehFpZtgFk8MOP2zQqg97HRtEYAGCHiET5i ghtdGRGC23NPVlsnvXM5lKukyjV9cK6n6DGjIxVrWRfReXg74c/SIsjGlSTW2tGknlrQpntzXu cvQ3NMId+MlFMCfufv4oaqQr34Y5ybhLbwZR/UX74DqXG+2PwuzW6yxoa81Fw0zL0McJh15TIv THA= X-IronPort-AV: E=Sophos;i="5.73,366,1583222400"; d="scan'208";a="48589076" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa2.mentor.iphmx.com with ESMTP; 07 May 2020 21:58:06 -0800 IronPort-SDR: O3oGVhCAJWCST6rYedjqaU7hRNEMHGFbZGrKrueSnFTg/nU/DW6e+cGs+k8ec3TjLJ43NWkpS1 u33M5gmqlL5cxzrOUqprt/35lwFCnOLBGLmGWuAK9yJmsFkMvYiYKNU6g0bRqrVtTYy+qoyp5z Y0ET+TPOM+orWHxH+3c7U3foaPouiMaWCsEkJ1Tb3ePbG18cfbxkpaoja9FoJlSwNzfyTpg01Q d7jz4GwplT5fI2N+Pb/HWdZwsdPUuHkm87KOaVrC1+ct+sO/jgQ6rM1LgLeDWAkgbyi0zwqhVv U3s= From: Jiada Wang To: , , , , CC: , , , , Subject: [PATCH v11 17/56] Input: atmel_mxt_ts: Rename mxt_fw_version_show to fw_version_show Date: Thu, 7 May 2020 22:56:17 -0700 Message-ID: <20200508055656.96389-18-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_fw_version_show to fw_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 0e30ff372a43..b2a37a9597f3 100644 --- a/drivers/input/touchscreen/atmel_mxt_ts.c +++ b/drivers/input/touchscreen/atmel_mxt_ts.c @@ -3104,8 +3104,8 @@ static int mxt_configure_objects(struct mxt_data *data, } /* Firmware Version is returned as Major.Minor.Build */ -static ssize_t mxt_fw_version_show(struct device *dev, - struct device_attribute *attr, char *buf) +static ssize_t fw_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; @@ -3403,7 +3403,7 @@ static const struct attribute_group mxt_fw_attr_group = { .attrs = mxt_fw_attrs, }; -static DEVICE_ATTR(fw_version, S_IRUGO, mxt_fw_version_show, NULL); +static DEVICE_ATTR_RO(fw_version); static DEVICE_ATTR(hw_version, S_IRUGO, mxt_hw_version_show, NULL); static DEVICE_ATTR(object, S_IRUGO, mxt_object_show, NULL); -- 2.17.1