All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Remove redundant const in tc3589x.c
@ 2011-09-25 11:21 ` Navin P
  0 siblings, 0 replies; 3+ messages in thread
From: Navin P @ 2011-09-25 11:09 UTC (permalink / raw)
  To: linux-kernel; +Cc: kernel-janitors, sameo, rabin.vincent, hanumath.prasad

 Remove the redundant const as SIMPLE_DEV_PM_OPS defines const
 struct.
 Signed-off-by: Navin P <zicrim@gmail.com>

---
 drivers/mfd/tc3589x.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mfd/tc3589x.c b/drivers/mfd/tc3589x.c
index c27e515..e87020f 100644
--- a/drivers/mfd/tc3589x.c
+++ b/drivers/mfd/tc3589x.c
@@ -385,7 +385,7 @@ static int tc3589x_resume(struct device *dev)
 	return ret;
 }
 
-static const SIMPLE_DEV_PM_OPS(tc3589x_dev_pm_ops, tc3589x_suspend,
+static SIMPLE_DEV_PM_OPS(tc3589x_dev_pm_ops, tc3589x_suspend,
 						tc3589x_resume);
 
 static const struct i2c_device_id tc3589x_id[] = {
-- 
1.7.0.4



^ permalink raw reply related	[flat|nested] 3+ messages in thread
* [patch ] remove redundant const in tc3589x.c
@ 2011-09-24  9:56 Zic Rim
  0 siblings, 0 replies; 3+ messages in thread
From: Zic Rim @ 2011-09-24  9:56 UTC (permalink / raw)
  To: kernel-janitors

SIMPLE_DEV_PM_OPS defins a const struct , no need to prefix with  const.

Signed-off-by: Navin P <zicrim@gmail.com>


diff --git a/drivers/mfd/tc3589x.c b/drivers/mfd/tc3589x.c
index c27e515..e87020f 100644
--- a/drivers/mfd/tc3589x.c
+++ b/drivers/mfd/tc3589x.c
@@ -385,7 +385,7 @@ static int tc3589x_resume(struct device *dev)
        return ret;
 }

-static const SIMPLE_DEV_PM_OPS(tc3589x_dev_pm_ops, tc3589x_suspend,
+static SIMPLE_DEV_PM_OPS(tc3589x_dev_pm_ops, tc3589x_suspend,
                                                tc3589x_resume);

 static const struct i2c_device_id tc3589x_id[] = {

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-09-25 11:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-25 11:09 [PATCH] Remove redundant const in tc3589x.c Navin P
2011-09-25 11:21 ` Navin P
  -- strict thread matches above, loose matches on Subject: below --
2011-09-24  9:56 [patch ] remove " Zic Rim

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.