Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3365888ybb; Tue, 31 Mar 2020 03:53:56 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvxG5QPQf1ojDY8m1nL08wYO8qfgrB4p+K4pSr2aCd3QxA+v/hsEhimsA2XChLsnj4ki2Xg X-Received: by 2002:a05:6830:1b64:: with SMTP id d4mr11992610ote.368.1585652036812; Tue, 31 Mar 2020 03:53:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585652036; cv=none; d=google.com; s=arc-20160816; b=jB+RwN0dpAVkx0Qk3LYvwDGZY4piYQILrTsjeLHxG7hAMNTQgbsaGWDzjzmmNq3Typ ibbQsLQbqPmlNCnKzcds4zwSi2Q8wOblaq43USbxYbdSUtEnYk5kk/o3Sprcf3c80CFO B0mHnuCbK82FKU0yImjmwi3ntNsdpqGwGTULympukf0tcQAuzBE8hW7Omir2PWzFFA6E etw0F8sVytTm0JJLK+XU1FoGDIkF3QfYMZwhEGUMo4M7q4jCgHzHsmU5jW+iu6lJ4r+T 0Zzb9/5m0dLPITN8twxOfe0TOnTi15BEC+WIrhIb7Pcp3h9hWZG0Qb9PkT/Oz3hFt7Er vP5Q== 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=kx/AF2BSvm3nOPxNQ4dUvDKkIkkg/eFNiVPdHqRkFkeLmEISPVBpDEAIoSuhTm7MZi TEMBp9er2GWWOuoQsLPPcA1EHX7eMYifVnJCPkO/kcnLa7TyiyWM87MXaJveS/XvSiEj F1/ffyO2/cpUEJFEhNoXPmaY7QZ/YBlU+fRQ/CsWVPLjFREqbD2JkcBZU+R3Xx1uYWn9 5X4jZu4lF7eOK1uZUshhT/4VCVF0/eLL3hrAd56QNmw4W0DFbnIqQFB5w4nSNWuYLQe5 33695Xa4alKe0P4B0kEZSOlGrazI4GQldss/hCnL5meyn/7fvSxX8e7wzC0kgjbH82yv RhDQ== 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 q21si7177389ooq.38.2020.03.31.03.53.44; Tue, 31 Mar 2020 03:53:56 -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 S1730718AbgCaKwJ (ORCPT + 99 others); Tue, 31 Mar 2020 06:52:09 -0400 Received: from esa4.mentor.iphmx.com ([68.232.137.252]:43515 "EHLO esa4.mentor.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730703AbgCaKwF (ORCPT ); Tue, 31 Mar 2020 06:52:05 -0400 IronPort-SDR: RnH/U8uSMH1rgYuVzUe9cmBIKCTakYEzXqu/ASHilqRanshH4/HvlsAsVgbynpdwjvmVD2IKMi vHwP/UCL8QCT9zeNR+W9fx/yM2GNIeKKEr3E64hGnvsgQ+HMNbLrcRlV96NeKmx00iLUbk4ac1 PWzPIBoeYarpHoMAnAmb9dlMYWMCYDX+ENAMMUDbxGvsodbW8uKw6kpLrv4XbKX91thdEJJycN oSw8/1dBZM66Rq27AmldKAqEnrRKAUNRGqu/sH5rl6qWMOFSEwN89g3fTMQ9AgtzZs4mehfQwk nQ0= X-IronPort-AV: E=Sophos;i="5.72,327,1580803200"; d="scan'208";a="47330761" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa4.mentor.iphmx.com with ESMTP; 31 Mar 2020 02:52:04 -0800 IronPort-SDR: FtYqO1U+45+jymj+6IQFZTHycjlrEMETJCxbrCZJqlRkl4tOn2wY7FXHayHI3zv+uMwh+HgqDW hQGtv2W78fgfMJgMbu0wBxnJ4dTw54V1YmQiMEZX2hwkkmmpxNXWabL5zsNHOWMnsQQALb/zSa lhjXigU/InRK0Qiko+tJJPferT4AdONuV8mVMMGjmztbCEUSQddDy6ARilwnVZxuCT1Bc4Cl46 Mlrbpmo92vgN+SlX98aLOB1pb7wlVojRoWcVRoemndnn1rd07dlaKuspQb8yaMhLlJMOspLnM6 mQ4= From: Jiada Wang To: , , , , CC: , , , , Subject: [PATCH v10 18/55] Input: atmel_mxt_ts: Rename mxt_hw_version_show to hw_version_show Date: Tue, 31 Mar 2020 03:50:14 -0700 Message-ID: <20200331105051.58896-19-jiada_wang@mentor.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200331105051.58896-1-jiada_wang@mentor.com> References: <20200331105051.58896-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