mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 17:49:40 +00:00
Kernel/USB: Rename get_interfaces
to something more sensible
This name was misleading, as it wasn't really "getting" anything. It has hence been renamed to `enumerate_interfaces` to reflect what it's actually doing.
This commit is contained in:
parent
29f891bb54
commit
a1ed9d3c60
Notes:
sideshowbarker
2024-07-18 03:23:00 +09:00
Author: https://github.com/Quaker762
Commit: a1ed9d3c60
Pull-request: https://github.com/SerenityOS/serenity/pull/14134
Reviewed-by: https://github.com/b14ckcat
Reviewed-by: https://github.com/linusg
3 changed files with 3 additions and 3 deletions
|
@ -12,7 +12,7 @@
|
|||
|
||||
namespace Kernel::USB {
|
||||
|
||||
ErrorOr<void> USBConfiguration::get_interfaces()
|
||||
ErrorOr<void> USBConfiguration::enumerate_interfaces()
|
||||
{
|
||||
auto descriptor_hierarchy_buffer = TRY(FixedArray<u8>::try_create(m_descriptor.total_length)); // Buffer for us to store the entire hierarchy into
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue