lkml.org 
[lkml]   [2011]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Remove redundant const in tc3589x.c
 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



\
 
 \ /
  Last update: 2011-09-25 13:25    [W:0.075 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site