]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
driver core: remove device_change_owner() export
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Feb 2026 13:09:43 +0000 (14:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Feb 2026 15:49:43 +0000 (16:49 +0100)
commitf55ae0bfa00e446ea751d09f468daeafc303e03f
treec347fa97031106547da158fba0a8e3048aeed627
parentd79ff2d612022548b09c3427c69263bedf7f16df
driver core: remove device_change_owner() export

The function, device_change_owner() is exported for modules to use,
but there are no in-kernel users of it, so remove the export to prevent
out-of-tree code from thinking this is a safe function to call.

Reviewed-by: Danilo Krummrich <dakr@kernel.org>
Reviewed-by: Rafael J. Wysocki (Intel) <rafael@kernel.org>
Link: https://patch.msgid.link/2026020543-molar-childcare-af20@gregkh
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/core.c