[folded] bh1780gli-convert-to-dev-pm-ops-update.patch removed from -mm tree

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

 



The patch titled
     bh1780gli-convert-to-dev-pm-ops-update
has been removed from the -mm tree.  Its filename was
     bh1780gli-convert-to-dev-pm-ops-update.patch

This patch was dropped because it was folded into bh1780gli-convert-to-dev-pm-ops.patch

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: bh1780gli-convert-to-dev-pm-ops-update
From: Shubhrajyoti D <shubhrajyoti@xxxxxx>

Signed-off-by: Shubhrajyoti D <shubhrajyoti@xxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/misc/bh1780gli.c |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff -puN drivers/misc/bh1780gli.c~bh1780gli-convert-to-dev-pm-ops-update drivers/misc/bh1780gli.c
--- a/drivers/misc/bh1780gli.c~bh1780gli-convert-to-dev-pm-ops-update
+++ a/drivers/misc/bh1780gli.c
@@ -235,6 +235,9 @@ static int bh1780_resume(struct device *
 	return 0;
 }
 static SIMPLE_DEV_PM_OPS(bh1780_pm, bh1780_suspend, bh1780_resume);
+#define BH1780_PMOPS (&bh1780_pm)
+#else
+#define BH1780_PMOPS NULL
 #endif /* CONFIG_PM */
 
 static const struct i2c_device_id bh1780_id[] = {
@@ -248,9 +251,7 @@ static struct i2c_driver bh1780_driver =
 	.id_table	= bh1780_id,
 	.driver = {
 		.name = "bh1780",
-#ifdef CONFIG_PM
-		.pm	= &bh1780_pm,
-#endif
+		.pm	= BH1780_PMOPS,
 },
 };
 
_

Patches currently in -mm which might be from shubhrajyoti@xxxxxx are

origin.patch
bh1780gli-convert-to-dev-pm-ops.patch
drivers-misc-bmp085c-free-initmem-memory.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux