[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181210161454.1c8ca97f@canb.auug.org.au>
Date: Mon, 10 Dec 2018 16:14:54 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Greg KH <greg@...ah.com>, "Rafael J. Wysocki" <rjw@...ysocki.net>
Cc: Linux Next Mailing List <linux-next@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Heikki Krogerus <heikki.krogerus@...ux.intel.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Subject: linux-next: manual merge of the driver-core tree with the pm tree
Hi all,
Today's linux-next merge of the driver-core tree got a conflict in:
drivers/base/platform.c
u
between commit:
2d51ac9086fd ("driver core: platform: Remove duplicated device_remove_properties() call")
from the pm tree and commit:
99fef587ff98 ("driver core: platform: Respect return code of platform_device_register_full()")
from the driver-core tree.
I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.
--
Cheers,
Stephen Rothwell
diff --cc drivers/base/platform.c
index 0fb5f140f1b0,e1ba610482c0..000000000000
--- a/drivers/base/platform.c
+++ b/drivers/base/platform.c
@@@ -447,7 -447,8 +447,7 @@@ void platform_device_del(struct platfor
{
int i;
- if (pdev) {
+ if (!IS_ERR_OR_NULL(pdev)) {
- device_remove_properties(&pdev->dev);
device_del(&pdev->dev);
if (pdev->id_auto) {
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists