mirror of https://github.com/torvalds/linux.git
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>
This commit is contained in:
parent
d79ff2d612
commit
f55ae0bfa0
|
|
@ -4781,7 +4781,6 @@ int device_change_owner(struct device *dev, kuid_t kuid, kgid_t kgid)
|
|||
put_device(dev);
|
||||
return error;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(device_change_owner);
|
||||
|
||||
/**
|
||||
* device_shutdown - call ->shutdown() on each device to shutdown.
|
||||
|
|
|
|||
Loading…
Reference in New Issue