aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/at91/patches-5.10/191-i2c-at91-remove-define-CONFIG_PM.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/at91/patches-5.10/191-i2c-at91-remove-define-CONFIG_PM.patch')
-rw-r--r--target/linux/at91/patches-5.10/191-i2c-at91-remove-define-CONFIG_PM.patch17
1 files changed, 6 insertions, 11 deletions
diff --git a/target/linux/at91/patches-5.10/191-i2c-at91-remove-define-CONFIG_PM.patch b/target/linux/at91/patches-5.10/191-i2c-at91-remove-define-CONFIG_PM.patch
index bbdf5bcbac..27ee1b6d19 100644
--- a/target/linux/at91/patches-5.10/191-i2c-at91-remove-define-CONFIG_PM.patch
+++ b/target/linux/at91/patches-5.10/191-i2c-at91-remove-define-CONFIG_PM.patch
@@ -13,11 +13,9 @@ Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-at91-core.c | 17 +++++------------
1 file changed, 5 insertions(+), 12 deletions(-)
-diff --git a/drivers/i2c/busses/i2c-at91-core.c b/drivers/i2c/busses/i2c-at91-core.c
-index e14edd236108..9f3c3e8e8011 100644
--- a/drivers/i2c/busses/i2c-at91-core.c
+++ b/drivers/i2c/busses/i2c-at91-core.c
-@@ -286,9 +286,7 @@ static int at91_twi_remove(struct platform_device *pdev)
+@@ -286,9 +286,7 @@ static int at91_twi_remove(struct platfo
return 0;
}
@@ -28,7 +26,7 @@ index e14edd236108..9f3c3e8e8011 100644
{
struct at91_twi_dev *twi_dev = dev_get_drvdata(dev);
-@@ -299,7 +297,7 @@ static int at91_twi_runtime_suspend(struct device *dev)
+@@ -299,7 +297,7 @@ static int at91_twi_runtime_suspend(stru
return 0;
}
@@ -37,7 +35,7 @@ index e14edd236108..9f3c3e8e8011 100644
{
struct at91_twi_dev *twi_dev = dev_get_drvdata(dev);
-@@ -308,7 +306,7 @@ static int at91_twi_runtime_resume(struct device *dev)
+@@ -308,7 +306,7 @@ static int at91_twi_runtime_resume(struc
return clk_prepare_enable(twi_dev->clk);
}
@@ -46,7 +44,7 @@ index e14edd236108..9f3c3e8e8011 100644
{
if (!pm_runtime_status_suspended(dev))
at91_twi_runtime_suspend(dev);
-@@ -316,7 +314,7 @@ static int at91_twi_suspend_noirq(struct device *dev)
+@@ -316,7 +314,7 @@ static int at91_twi_suspend_noirq(struct
return 0;
}
@@ -55,7 +53,7 @@ index e14edd236108..9f3c3e8e8011 100644
{
struct at91_twi_dev *twi_dev = dev_get_drvdata(dev);
int ret;
-@@ -342,11 +340,6 @@ static const struct dev_pm_ops at91_twi_pm = {
+@@ -342,11 +340,6 @@ static const struct dev_pm_ops at91_twi_
.runtime_resume = at91_twi_runtime_resume,
};
@@ -67,7 +65,7 @@ index e14edd236108..9f3c3e8e8011 100644
static struct platform_driver at91_twi_driver = {
.probe = at91_twi_probe,
.remove = at91_twi_remove,
-@@ -354,7 +347,7 @@ static struct platform_driver at91_twi_driver = {
+@@ -354,7 +347,7 @@ static struct platform_driver at91_twi_d
.driver = {
.name = "at91_i2c",
.of_match_table = of_match_ptr(atmel_twi_dt_ids),
@@ -76,6 +74,3 @@ index e14edd236108..9f3c3e8e8011 100644
},
};
---
-2.32.0
-