From patchwork Tue Jun 16 15:13:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 485060 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 4DDA614012C for ; Wed, 17 Jun 2015 01:13:48 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=k4ERkmB2; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753610AbbFPPNr (ORCPT ); Tue, 16 Jun 2015 11:13:47 -0400 Received: from mail-pd0-f170.google.com ([209.85.192.170]:35860 "EHLO mail-pd0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752753AbbFPPNq (ORCPT ); Tue, 16 Jun 2015 11:13:46 -0400 Received: by pdjm12 with SMTP id m12so16399600pdj.3; Tue, 16 Jun 2015 08:13:45 -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=mroYRya3PvWjAItrroAujxkTMH35PUCZtmUwfJSmSB8=; b=k4ERkmB2iiMkCWN9tEMALlsTbFXR75QtI1wE376FJvUJOMBsMIfhL0En8m88zrmJuq jY2D9UX6bvJv0TDXkeLP4oyVJxYQ2d4zTeU0AydhjarcEyfyGPDcqFWQ1n/OEIXxaYFx zOsttUTRp2Veqp4opryx9GuWd+vGdVrnr4uj37QkSJ5HwF/9HD7iRoYikKRXirv9TwIA xww04kyuCnRTZnEcjmzYOteIhI/g52K/ILxucaMeYcTQX+JBwLnM6hOwhRDOr9+DdLOC CEdmZgBwizx0KNKZVM6okEuXk3T8abYmF0ojhVguAqA+k6yMlNtqr2CGaXaSEVzw0/Yw oDqw== X-Received: by 10.70.96.65 with SMTP id dq1mr1488896pdb.79.1434467625780; Tue, 16 Jun 2015 08:13:45 -0700 (PDT) Received: from linux-4gyl.site.site ([110.34.224.155]) by mx.google.com with ESMTPSA id nt6sm1720400pbc.18.2015.06.16.08.13.41 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Jun 2015 08:13:44 -0700 (PDT) From: Peng Fan To: gregkh@linuxfoundation.org Cc: jak@jak-linux.org, marvin24@gmx.de, ac100@lists.launchpad.net, linux-tegra@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, van.freenix@gmail.com Subject: [PATCH] staging: nvec: remove duplicated const Date: Tue, 16 Jun 2015 23:13:21 +0800 Message-Id: <1434467601-3290-1-git-send-email-van.freenix@gmail.com> X-Mailer: git-send-email 1.8.4 Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org Sparse checking warning: "drivers/staging/nvec/nvec_ps2.c:172:14: warning: duplicate const". Remove the duplicated const to fix the warning. Signed-off-by: Peng Fan Acked-by: Marc Dietrich --- drivers/staging/nvec/nvec_ps2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/nvec/nvec_ps2.c b/drivers/staging/nvec/nvec_ps2.c index 6ebbc82..0922dd3 100644 --- a/drivers/staging/nvec/nvec_ps2.c +++ b/drivers/staging/nvec/nvec_ps2.c @@ -169,8 +169,8 @@ static int nvec_mouse_resume(struct device *dev) } #endif -static const SIMPLE_DEV_PM_OPS(nvec_mouse_pm_ops, nvec_mouse_suspend, - nvec_mouse_resume); +static SIMPLE_DEV_PM_OPS(nvec_mouse_pm_ops, nvec_mouse_suspend, + nvec_mouse_resume); static struct platform_driver nvec_mouse_driver = { .probe = nvec_mouse_probe,