Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp624045ybb; Wed, 25 Mar 2020 06:35:53 -0700 (PDT) X-Google-Smtp-Source: ADFU+vv20mn/4woQGouXoqVYAaXgjRFleLZme+sEYMsFkI7Kfa4qW2UzEfX3lZryNNah78lbHk7s X-Received: by 2002:a9d:6e0a:: with SMTP id e10mr2609406otr.22.1585143352939; Wed, 25 Mar 2020 06:35:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585143352; cv=none; d=google.com; s=arc-20160816; b=idRHmCrW6BW43jnos/ZfWutKNskd9J5w/2m+O5e8yc95LMzDONsLFolZ/3wMo+J6Y6 j+CBq7zLgFW2OxDIuXuqUGxXxnUuhtsGtvVCx3OdUwTQKZMJJ2Neu5fTGe6iNoeGNUVn eyld3OsfaQsnVkS369au+EHBeytbE/oquvpNZziFcEqA+xRY+JYNg6rgpWz/UJgeQiYg SiXrp/byVgVq3U9F9WDT3F5hcaTPwnEAlA8E9VXjaezpX+PSHQ48/X3LVWG9FCnxKwoY tQtdCXnuI6BJNnyJ5NZZuNiut0adoF1T/whx7+7BOF1WKzhrvFIY9N6uZr7QElShKqEE 5MWA== 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=fl+DPiUoPsP3Wpz5HcupqMkvqz5PJiOkTu9tWDQu9eBiw5/O0OlvL4pPLtpftbmpf8 tAeOpQlqeEWkqqntFQf4AoSwh+tWGBCD98cRTNfZkttzwhKRPy5IZuJwju3yRtFetsSo fgfWCNKRaREBLrY+2i1IfaPyKlnL1WpgAHfR7qp79nGAtkpUaL1ehOz/hYMheYeN8OOz 23e5qgyf8p8Jg/db56moIIzYB1oRPrCC9j09dI9Nv3AqbRwgv2ikc+JpGZjNIfUSk129 2CQJLDCWrBDxsUz2JDguzRX8T0+PmdHiGo4QxHlIev8IiBRvIyWNVC27Wnzdtkl1nwju L2zg== 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 u2si117635oot.35.2020.03.25.06.35.40; Wed, 25 Mar 2020 06:35:52 -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 S1727793AbgCYNe6 (ORCPT + 99 others); Wed, 25 Mar 2020 09:34:58 -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 S1727710AbgCYNe5 (ORCPT ); Wed, 25 Mar 2020 09:34:57 -0400 IronPort-SDR: ro3kBhvIdIbxK3tlMVLFAp9BV/ar5UjRZD1ChQzI2s9r+qWvXSliiyx9ucmMnO/no/WVaNBidg buVPrJDKtZrYIX4Pa0hNnVPd0rFL423llMmDRip38gVKbN6atbC1Eoane8aW4icdDOftTN8+1x wz/5znyenZfb/g0VLg9Wo6tnBQm5YwhrSiZhkybDS5ldTnWVyFPcmCwEstXbBDzfAgD6ZB2pnq 0jjBO7kVe6tD4IhJ7PgK0NbOw3oneEBAHHqst8ry9D8qHSPi/4ufGvndNJctuk7/3xbGqSXGva QsU= X-IronPort-AV: E=Sophos;i="5.72,304,1580803200"; d="scan'208";a="47099695" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa3.mentor.iphmx.com with ESMTP; 25 Mar 2020 05:34:56 -0800 IronPort-SDR: XrjtwLy5nBpo4nU6I/7z9rRSjiGDjOnqx/WM33akTaHa1MIJYnVOTJYL/Twek4jFXjl7ax4FgD 5Sn14Ggq2/zV0GpRZVlyPkUoCLcEkHRXb3QuCXlqrejuV+gRU9Ehr3Rog4oDOWjLFA3De8qvh1 5WRzGVmCbzgcdCMbtGgFT3KQ2USMIcC0fm/hxqtmphoTqlP0m8IyRkgtrFDQsXyI5gcdGr8FFt RcoyJGbvU2GlEkxwXiBY2LzAMlSwHW6B0sB7WDl4//dDyRGOjDR5jUz18R79+0p+0W7kVV1fie T3s= From: Jiada Wang To: , , , , , CC: , , , , Subject: [PATCH v9 19/55] Input: atmel_mxt_ts: rename mxt_update_fw_store to update_fw_store Date: Wed, 25 Mar 2020 06:32:58 -0700 Message-ID: <20200325133334.19346-20-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_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