[patch ] remove redundant const in tc3589x.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Navin P <zicrim@xxxxxxxxx>


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[] = {
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux