Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1367502ybj; Thu, 7 May 2020 23:00:33 -0700 (PDT) X-Google-Smtp-Source: APiQypJTS5q2jwcYPy3zSELSu8xzuwJisCC943H+Uzs1ifCY6YknbP/5XrkZcsF5vULm6X/GJtxq X-Received: by 2002:a17:906:459:: with SMTP id e25mr489954eja.379.1588917633485; Thu, 07 May 2020 23:00:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588917633; cv=none; d=google.com; s=arc-20160816; b=izGUr8eeYA8GD0yeyikEBKTi7hwcnMDit+z0cLN+68tc6zS7TYusBWZLTw7vP2X7Kv 7Y7iAG85+IUTF4YPB61s43QhozE/1+hHUz4d1wny1IlktsEX3DeV7lnt2W5rCcmKTFtC zks6ELg44wK2+LDj6dZ+YS8zTdP1WPuu/IGQ5oxl4TNdOxKO3JzURHuZWy4bcMTEzXDn xD83W1Kf+iuk2LXD0Sf90XwKk+zzc55SjiQAJNmyb6gF+fFHzZ2W8TENeMJWzggkGxat sRxkl+aC+wjLkC+wm7uXjCYDMIlOBIgF3NBhWAYLsw2WJPVm4pyIGZ4DAKzsxhUo6zDl qPzQ== 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=fIajlK3FQEcARI1g5jNus5hzHuBW1C6vOO1XM84Dr4M=; b=FWDijaGCadSlHxfCSwwVSW2ycW7Qg38NmFDZlXnVcWHydHEbyyDeyBph3Y6TW1WYWn GBGInTkwbh0kmCOGSCo7PAiJseNW3DW4FDJBsDA0T+WBGBWakRqd2uZjnU0WV2i+4Fi6 3rsOR8OWPNJ7DynkpUzUNjlgG7DmNgoMv4v44olfZDuSHaiaRTQksOvLm4VrdnUJUNPC SJf7KQa5Z2lgCsO7TMyX1MwOpXSEAXL4fuokK4DXac9QZPdOiq3dqEUBsIQvF8LniZSl 8F/xqbR6dCrivMybyc+GkTU0E+hbllkpJ9THJjS7W4v+C5V7l/lYUx2J1fEAnM68urSO pAiQ== 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 i8si358112ejf.197.2020.05.07.23.00.10; Thu, 07 May 2020 23:00:33 -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 S1727912AbgEHF6R (ORCPT + 99 others); Fri, 8 May 2020 01:58:17 -0400 Received: from esa2.mentor.iphmx.com ([68.232.141.98]:2693 "EHLO esa2.mentor.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727889AbgEHF6P (ORCPT ); Fri, 8 May 2020 01:58:15 -0400 IronPort-SDR: c5XqVTYIEr0Hx+G+CaJGDiIrT97u5RTAk5UCdHoU9B7wg2mhANCrObuxknKmQZsKsCdcUpCyFR hj1RUFWUFA85oCh8eNDoSc7mGbarhPO/0h5eeq0cC4TGEk8pFRDjexXAQI4QgM3sgWRDZjjU8I 9RIKFx0RPPvRJcLx10eDaEKEac7xS7OcdpWy2qXQqf0ZGyiFGol68AgsDVKJWiOyU/hYLUmLzc NAr+25HfmAhsBY8dFGYimSefZiUFi9yhGeI1MhH6zhdgjrawWb3m5hhyYncdnjEd24nw/8D0Ru CYo= X-IronPort-AV: E=Sophos;i="5.73,366,1583222400"; d="scan'208";a="48589082" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa2.mentor.iphmx.com with ESMTP; 07 May 2020 21:58:14 -0800 IronPort-SDR: 5ORKCTmWLj2/EqgAui3Z/gTV3bgAgvOj0mi1Fnxl3TnyR0TUpGHgY9gfTaUWssHR7wz31H5gX/ k2hFioXzmPP0fgKDmxmdTNEDaEM1+VAZjV3X74YmFAs+ApGWFIf2jLATfZb+PbliDQSKY49rIp Qh+FdVElyj0Yy9jKnYvTqDAd7Y/itfp7JKacwGlvFYTOAzEWAXDKJ1A+Qo9DVSu83WnvyslfE+ RAzimT+gfiufynbMVbDV0F8MwVabwkcmvEpfHa9I19HHzt2jurz21BTKJYJAP3U3IrcahCH4GH 7Jk= From: Jiada Wang To: , , , , CC: , , , , Subject: [PATCH v11 19/56] Input: atmel_mxt_ts: rename mxt_update_fw_store to update_fw_store Date: Thu, 7 May 2020 22:56:19 -0700 Message-ID: <20200508055656.96389-20-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_update_fw_store to update_fw_store, to address checkpatch warning. Signed-off-by: Jiada Wang --- drivers/input/touchscreen/atmel_mxt_ts.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c index cec823de4096..720574417219 100644 --- a/drivers/input/touchscreen/atmel_mxt_ts.c +++ b/drivers/input/touchscreen/atmel_mxt_ts.c @@ -3366,9 +3366,9 @@ static int mxt_update_file_name(struct device *dev, char **file_name, return 0; } -static ssize_t mxt_update_fw_store(struct device *dev, - struct device_attribute *attr, - const char *buf, size_t count) +static ssize_t update_fw_store(struct device *dev, + struct device_attribute *attr, + const char *buf, size_t count) { struct mxt_data *data = dev_get_drvdata(dev); int error; @@ -3392,7 +3392,7 @@ static ssize_t mxt_update_fw_store(struct device *dev, return count; } -static DEVICE_ATTR(update_fw, 0200, NULL, mxt_update_fw_store); +static DEVICE_ATTR_WO(update_fw); static struct attribute *mxt_fw_attrs[] = { &dev_attr_update_fw.attr, -- 2.17.1