diff --git linux-libre-6.18.11-gnu/Makefile linux-libre-6.18.12-gnu/Makefile
index 8071feaa5338..fdcccd67d556 100644
--- linux-libre-6.18.11-gnu/Makefile
+++ linux-libre-6.18.12-gnu/Makefile
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 6
 PATCHLEVEL = 18
-SUBLEVEL = 11
+SUBLEVEL = 12
 EXTRAVERSION = -gnu
 NAME = Baby Opossum Posse
 
diff --git linux-libre-6.18.11-gnu/drivers/base/base.h linux-libre-6.18.12-gnu/drivers/base/base.h
index 30459906987e..86fa7fbb3548 100644
--- linux-libre-6.18.11-gnu/drivers/base/base.h
+++ linux-libre-6.18.12-gnu/drivers/base/base.h
@@ -166,18 +166,9 @@ void device_set_deferred_probe_reason(const struct device *dev, struct va_format
 static inline int driver_match_device(const struct device_driver *drv,
 				      struct device *dev)
 {
-	device_lock_assert(dev);
-
 	return drv->bus->match ? drv->bus->match(dev, drv) : 1;
 }
 
-static inline int driver_match_device_locked(const struct device_driver *drv,
-					     struct device *dev)
-{
-	guard(device)(dev);
-	return driver_match_device(drv, dev);
-}
-
 static inline void dev_sync_state(struct device *dev)
 {
 	if (dev->bus->sync_state)
diff --git linux-libre-6.18.11-gnu/drivers/base/bus.c linux-libre-6.18.12-gnu/drivers/base/bus.c
index 999d371bbf35..5e75e1bce551 100644
--- linux-libre-6.18.11-gnu/drivers/base/bus.c
+++ linux-libre-6.18.12-gnu/drivers/base/bus.c
@@ -263,7 +263,7 @@ static ssize_t bind_store(struct device_driver *drv, const char *buf,
 	int err = -ENODEV;
 
 	dev = bus_find_device_by_name(bus, NULL, buf);
-	if (dev && driver_match_device_locked(drv, dev)) {
+	if (dev && driver_match_device(drv, dev)) {
 		err = device_driver_attach(drv, dev);
 		if (!err) {
 			/* success */
diff --git linux-libre-6.18.11-gnu/drivers/base/dd.c linux-libre-6.18.12-gnu/drivers/base/dd.c
index b6b9132e1f94..13ab98e033ea 100644
--- linux-libre-6.18.11-gnu/drivers/base/dd.c
+++ linux-libre-6.18.12-gnu/drivers/base/dd.c
@@ -1170,7 +1170,7 @@ static int __driver_attach(struct device *dev, void *data)
 	 * is an error.
 	 */
 
-	ret = driver_match_device_locked(drv, dev);
+	ret = driver_match_device(drv, dev);
 	if (ret == 0) {
 		/* no match */
 		return 0;
