Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3365351ybb; Tue, 31 Mar 2020 03:53:10 -0700 (PDT) X-Google-Smtp-Source: ADFU+vva/fw4ijiPB3xhv+u3ch074FKWVu2L7S98Jv6rGq7enup/vCgmTwG5T4eh6mB7SJArMcrp X-Received: by 2002:aca:80e:: with SMTP id 14mr1543623oii.143.1585651989808; Tue, 31 Mar 2020 03:53:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585651989; cv=none; d=google.com; s=arc-20160816; b=FgRGsitj/vqqtPX9MGe9i1tspz32fpqLefzV/BwHMcRiK8IurOBC7yfrokek3ugsPS I4wPiCPMBzFkKFp4c78lRk50DLGMmMEZvcr8QEtqFytnoZ8T5HOUN7OgNEuxf98P6j2I V5DL+wHJfesozZXpyI+voyAmgVZ5S4CBX2F/ukrWorU7dREZGKPhRB+faS0+yOW7xdFj XlBSQijt8SrmUv+7pZlJESHsBA0wwLSfAD0JzU1pIfFwitZsj7PFHjENp/xPjbo8Yh5G fPinx8f1o27qiK34MFH+J8LePiJQ311/r84Qz3Z5dOixMP1rGc1Mnn5IhbDYh4VOPIEe JKxg== 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=AAABRI5yO2pupIPR5SNmdSh1OKqaKPXk+7zsO/pHjqghtBh/NuUS92G6xuZHrcZboR 9w246mQuIW0Vum9KeaIFgniRNvxZmJqMqIFBGR62/3P0P7WWegw7XwqCEkPQ4DDgt0mS reSjLuo+XEXiJdWgGt7nd5RFy4kJ2zdnm8ZvhZvSNYZT/lBWhtjKAOEwSgKpdLpM/Xo/ OA0Jdh/2zZgAYM/pUIHMeH4YFLyGgrqHDBpUSRO8Wk/+pE7lVZJB8JphiNumGg19dPa9 ITFEhpMsmcaKff1NMRwuVy2k5RLjJyu8tvTd4cSLb4ITwj3s96OLNVcbxzfaT2c20eKO UECg== 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 m26si5019593otj.109.2020.03.31.03.52.57; Tue, 31 Mar 2020 03:53:09 -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 S1730466AbgCaKwL (ORCPT + 99 others); Tue, 31 Mar 2020 06:52:11 -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 S1730469AbgCaKwJ (ORCPT ); Tue, 31 Mar 2020 06:52:09 -0400 IronPort-SDR: 4mGRzcEZOm8xNMwDRwxPjTAED39H71lwAeJ+6O+P92X7FfQVegyLea6r1i1aPm3hJ7fdsjCEEJ 53UVZ3oP0dXyPQZnTcoxcG9CsZvHNUqpewQNd71NItWxCZ1fCdxcxh3zzjiaEQ6D//y862FLze R38qAm9LEskGhn9Lu6Uje2pYFBAxSoC1ki3eXCetf1hRBxCmuu0U0mauE2ZG21fUYdFJtKksue nEI5G5HskEp4nqa3odn6UulG1afTJSt15A6zLMbUnZpJovIgOk7oclgdNUcDaE/eVHMZhmPCJ5 6cw= X-IronPort-AV: E=Sophos;i="5.72,327,1580803200"; d="scan'208";a="47330762" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa4.mentor.iphmx.com with ESMTP; 31 Mar 2020 02:52:08 -0800 IronPort-SDR: GeUxREHjh+vkjVdH6iqbVKqfScfPGqbfSZNmIXkCSAwfQGuCm36cqnlhKdfquUsAAwxsxbatP9 7Day4dmE2Lo/fhI1jorIut6LTBlF1PrJCeifiwL7oi2O+zD5fFbCNIGMu+t/vQZghfjRYgL6Wl wxZNdr/NIsFzp4dWC60ZC1lBLD8FCuwP+b1YF3XQMP7xa1USk2kOYppKTE+WDNFtyPT6Kzd4Q8 TlzVnoJ2nrRWIQTYsH++GCl8wGxo4XJy6hyuXpG72gZ9IXl6ujsQB4LclNWhkZMyIzgXqfSOw3 2qA= From: Jiada Wang To: , , , , CC: , , , , Subject: [PATCH v10 19/55] Input: atmel_mxt_ts: rename mxt_update_fw_store to update_fw_store Date: Tue, 31 Mar 2020 03:50:15 -0700 Message-ID: <20200331105051.58896-20-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_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