1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:58:12 +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:
Jesse Buhagiar 2022-05-30 22:54:37 +10:00 committed by Andreas Kling
parent 29f891bb54
commit a1ed9d3c60
3 changed files with 3 additions and 3 deletions

View file

@ -132,7 +132,7 @@ ErrorOr<void> Device::enumerate_device()
}
USBConfiguration device_configuration(*this, configuration_descriptor);
TRY(device_configuration.get_interfaces());
TRY(device_configuration.enumerate_interfaces());
m_configurations.append(device_configuration);
}