]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging/nvec: Remove double const qualifier
authorThierry Reding <treding@nvidia.com>
Mon, 21 Jul 2014 11:54:41 +0000 (13:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Jul 2014 21:20:50 +0000 (14:20 -0700)
The SIMPLE_DEV_PM_OPS macro already uses the const qualifier, so there's
no need to repeat it.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Acked-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/nvec/nvec.c

index d325048448963a5630291ef29873c6e809253037..0a5c84ad3f418af8735e27152374f432ad9166c2 100644 (file)
@@ -960,7 +960,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[] = {