Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp4115667imm; Mon, 8 Oct 2018 15:23:30 -0700 (PDT) X-Google-Smtp-Source: ACcGV60TzuYSbsO/W7QBAhwiRyCuKb5FZCIAOykuNzexi2FHZd9jMxqyCaXX+WBSLWtLUieq0izE X-Received: by 2002:a63:26c4:: with SMTP id m187-v6mr23081653pgm.268.1539037410255; Mon, 08 Oct 2018 15:23:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539037410; cv=none; d=google.com; s=arc-20160816; b=iirlTTt/Acu4YSrZUXLCDCKvsfr4Zd4bn6fu+WOeS3ORDg7uxlVEnrqge0qHZJjzqp M/5KY3tV+j67cZEeRe30DBxwPSJrvZiTbFJJ7ZELOF62nXk7F6hZ8ZSQoQ+7owTvr5ZN srQ3el8XRTdY2OqjUwiiyiko6BZCB+PIrBqd2ajUrh93rwMIrqhpVQhl1dignKbu3OHM RXQrcs4FcfpAKOUjozFCuRtYjpU0gXYEMdNDgseZ/P6y7rI514dkzIncUuky/h7uGz/B GiG7hOpS4+r/KdTFUjHBZyWBkg+xCCWOZchjJmCzzfS047HyejSrxjwGkQHnwIM9azNc oAEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=1NQqaQTT54ej36iZDL5eb7VeTMQ8W2+LS0o1BCa/CKo=; b=AcuRx5Q/vdRJHfjh0nQzxTf2jGJn3gaBP4J228+wNYjxzMiZce1wrf1CasJp6rpXHc V8ezu++b2hS88KLyt2spmV2f/HZwYyyTqY6SM+FOOi30Sg5U72dvAJ6sXbqHsXHMRjTe YekOXDLl/1A5NbY01PEO/QcoOQf2PyMauO3fWkZIQjnqWllQFe6tfReuKVlqhnIuBUkk RNO2hK1V80/KxJREruzqH5EtPcPlab3g5F0EW+vKgnIR1orue6sQjRoXv27aX9ZLHMWs 4gNLVQy35ZsoL0P5pU7XSrMMLFo3FM34OPLm1hUEAia8/yLT1QE+FFPt3eZDR0hDU8ut KYhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=j9r12nyN; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b9-v6si19084249pfi.99.2018.10.08.15.23.15; Mon, 08 Oct 2018 15:23:30 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=j9r12nyN; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726692AbeJIFfH (ORCPT + 99 others); Tue, 9 Oct 2018 01:35:07 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:43951 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725749AbeJIFfH (ORCPT ); Tue, 9 Oct 2018 01:35:07 -0400 Received: by mail-wr1-f65.google.com with SMTP id n1-v6so22419269wrt.10 for ; Mon, 08 Oct 2018 15:21:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1NQqaQTT54ej36iZDL5eb7VeTMQ8W2+LS0o1BCa/CKo=; b=j9r12nyNv0xJ910ztygRdBrJ3fcSAXVX8ZEfEnZyRpko2BJ8lXXlNQwr2YMhdDUfHD kk5C/4n/1+0Ws0U/6uGfR+Ied3GzSvArH3f19GFagdfwud0PW7APCKvMEiQ1D3VzOFqE Fbfd+RZ8cWE/w2JRqNwpDfZcOqkWhpbNNlhZlLMO2NJ78vk3lOl6GVi5tzEH/oNmwfqg DpLiACpGUc1LpSbOrwpUJvOVnBIyYMAg/tyDOXF2wNxNXjlI0Z+dGLvNm3CbPXzZtah8 PXWo6dliXnta5WR/BEdldWXx5/EA+7LwXHdqTkXBVfrM4QC9YlxEhQmg9RzdowR1vxAe nE9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1NQqaQTT54ej36iZDL5eb7VeTMQ8W2+LS0o1BCa/CKo=; b=UKQYuGqt0LrKN0o0VTgQsKqO/atBIaMVo8EJq8pYo2IlVY1eRtBfHKLfxmXXai+4ey JUen+7oBUb17ru9VIOpWAmX8Ew1zMQwI5/38fPUzeCoCklBZVOYQHT5ViSxHX/UXlodH 8vyMcTRueNO0w0DX/JgV7rKm2lBLSsunGp9cT961bfmSlcZp8CS40KkJ1Ae5927eo96L 9h8K2Bfe6ElpRlLvpBHZilMdt0UgCDwbWtb5wQGKi3do6GABnN5VHmCxQfcjXN3LrfP9 zmA08buRhzkS0lAM+v1bmm7CIQfSvf5t3GiaB5QM/vnOUV2lQJG/WNxjH8L48YIR/hTL dSsw== X-Gm-Message-State: ABuFfohmHprq7EuTc/KvY7nFSx9ckX5D+xvimd+CXV5wOMRVAG4jzHxf aFmITgCe1+qeZWhfRlJtEgU= X-Received: by 2002:adf:9c93:: with SMTP id d19-v6mr17451097wre.11.1539037272115; Mon, 08 Oct 2018 15:21:12 -0700 (PDT) Received: from localhost.localdomain ([2a01:4f8:10b:24a5::2]) by smtp.gmail.com with ESMTPSA id y65-v6sm8895210wmg.40.2018.10.08.15.21.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Oct 2018 15:21:11 -0700 (PDT) From: Nathan Chancellor To: Benson Leung , Olof Johansson Cc: linux-kernel@vger.kernel.org, Nathan Chancellor Subject: [PATCH] platform/chrome: chromeos_tbmc - Remove unneeded const Date: Mon, 8 Oct 2018 15:20:41 -0700 Message-Id: <20181008222041.7713-1-natechancellor@gmail.com> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Clang warns: drivers/platform/chrome/chromeos_tbmc.c:102:14: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static const SIMPLE_DEV_PM_OPS(chromeos_tbmc_pm_ops, NULL, ^ ./include/linux/pm.h:365:56: note: expanded from macro 'SIMPLE_DEV_PM_OPS' #define SIMPLE_DEV_PM_OPS(name, suspend_fn, resume_fn) \ ^ 1 warning generated. SIMPLE_DEV_PM_OPS is already declared as const, this one is unnecessary so remove it. Signed-off-by: Nathan Chancellor --- drivers/platform/chrome/chromeos_tbmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/chrome/chromeos_tbmc.c b/drivers/platform/chrome/chromeos_tbmc.c index 1e81f8144c0d..ce259ec9f990 100644 --- a/drivers/platform/chrome/chromeos_tbmc.c +++ b/drivers/platform/chrome/chromeos_tbmc.c @@ -99,7 +99,7 @@ static const struct acpi_device_id chromeos_tbmc_acpi_device_ids[] = { }; MODULE_DEVICE_TABLE(acpi, chromeos_tbmc_acpi_device_ids); -static const SIMPLE_DEV_PM_OPS(chromeos_tbmc_pm_ops, NULL, +static SIMPLE_DEV_PM_OPS(chromeos_tbmc_pm_ops, NULL, chromeos_tbmc_resume); static struct acpi_driver chromeos_tbmc_driver = { -- 2.19.0