From patchwork Mon Jul 21 11:54:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 372045 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 5C6761400D2 for ; Mon, 21 Jul 2014 21:54:47 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753991AbaGULyp (ORCPT ); Mon, 21 Jul 2014 07:54:45 -0400 Received: from mail-wi0-f176.google.com ([209.85.212.176]:35323 "EHLO mail-wi0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753919AbaGULyp (ORCPT ); Mon, 21 Jul 2014 07:54:45 -0400 Received: by mail-wi0-f176.google.com with SMTP id bs8so3977102wib.15 for ; Mon, 21 Jul 2014 04:54:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=9kjK8SV/ZvVEoE0thc0cCLSRsTMtjMYnEsAFoaItCI0=; b=GKSF+fh9LASQQnqdZmkePxCVI07u6JVxIXRBVVXlGuDXHF0bEtV8KgLhWAxK1EdF82 7YQx2Y4X/F4u0+D5DjFGL38nwGTvWdrRDTzQPasUk4geRCsTMiuCEp9MdjEYvK8Wv8ZW CkvztYfv/ayi/LT3tIAaBQhixdBKbNnRuQNpRcwjRbN98VCoIYj4nHyQhmpurSBT+xfC L3adZfRAxhrMEfhpOIbXHcBKLktf0qnqUW3A+4qBfGgW0YPjrV/I2fEeb+zZCkYsTs9W 0Z5ao/TFOfd3Fws6PRd1/zEhqm9A7vEro0vdQNoSY0H9hOzGyDxt/L+ZRjHty7eTeUe4 CELg== X-Received: by 10.180.107.65 with SMTP id ha1mr3501105wib.59.1405943683065; Mon, 21 Jul 2014 04:54:43 -0700 (PDT) Received: from localhost (port-11394.pppoe.wtnet.de. [84.46.44.174]) by mx.google.com with ESMTPSA id gd13sm41222037wic.6.2014.07.21.04.54.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Jul 2014 04:54:42 -0700 (PDT) From: Thierry Reding To: Marc Dietrich , Greg Kroah-Hartman Cc: ac100@lists.launchpad.net, linux-tegra@vger.kernel.org, devel@driverdev.osuosl.org Subject: [PATCH] staging/nvec: Remove double const qualifier Date: Mon, 21 Jul 2014 13:54:41 +0200 Message-Id: <1405943681-2932-1-git-send-email-thierry.reding@gmail.com> X-Mailer: git-send-email 2.0.1 Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Thierry Reding The SIMPLE_DEV_PM_OPS macro already uses the const qualifier, so there's no need to repeat it. Signed-off-by: Thierry Reding Acked-by: Marc Dietrich --- drivers/staging/nvec/nvec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c index 11f9e1c3447c..aef52306620a 100644 --- a/drivers/staging/nvec/nvec.c +++ b/drivers/staging/nvec/nvec.c @@ -959,7 +959,7 @@ static int nvec_resume(struct device *dev) } #endif -static const SIMPLE_DEV_PM_OPS(nvec_pm_ops, nvec_suspend, nvec_resume); +static SIMPLE_DEV_PM_OPS(nvec_pm_ops, nvec_suspend, nvec_resume); /* Match table for of_platform binding */ static const struct of_device_id nvidia_nvec_of_match[] = {