|
@@ -851,7 +851,7 @@ static const struct of_device_id xiic_of_match[] = {
|
|
|
MODULE_DEVICE_TABLE(of, xiic_of_match);
|
|
|
#endif
|
|
|
|
|
|
-static int __maybe_unused cdns_i2c_runtime_suspend(struct device *dev)
|
|
|
+static int __maybe_unused xiic_i2c_runtime_suspend(struct device *dev)
|
|
|
{
|
|
|
struct xiic_i2c *i2c = dev_get_drvdata(dev);
|
|
|
|
|
@@ -860,7 +860,7 @@ static int __maybe_unused cdns_i2c_runtime_suspend(struct device *dev)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-static int __maybe_unused cdns_i2c_runtime_resume(struct device *dev)
|
|
|
+static int __maybe_unused xiic_i2c_runtime_resume(struct device *dev)
|
|
|
{
|
|
|
struct xiic_i2c *i2c = dev_get_drvdata(dev);
|
|
|
int ret;
|
|
@@ -875,8 +875,8 @@ static int __maybe_unused cdns_i2c_runtime_resume(struct device *dev)
|
|
|
}
|
|
|
|
|
|
static const struct dev_pm_ops xiic_dev_pm_ops = {
|
|
|
- SET_RUNTIME_PM_OPS(cdns_i2c_runtime_suspend,
|
|
|
- cdns_i2c_runtime_resume, NULL)
|
|
|
+ SET_RUNTIME_PM_OPS(xiic_i2c_runtime_suspend,
|
|
|
+ xiic_i2c_runtime_resume, NULL)
|
|
|
};
|
|
|
static struct platform_driver xiic_i2c_driver = {
|
|
|
.probe = xiic_i2c_probe,
|