Re: [PATCH v2 2/5] usb: onboard-hub: Use devm API do automatically free the reset GPIO

2025-06-06 Thread Quentin Schulz
Hi Lukasz, On 5/26/25 4:24 PM, Lukasz Czechowski wrote: The reset GPIO is obtained during driver probing by the function devm_gpiod_get_optional, which means the GPIO will be automatically freed when the device is removed. Because of this, explicit call to free the reset GPIO in hub remove funct

[PATCH v2 2/5] usb: onboard-hub: Use devm API do automatically free the reset GPIO

2025-05-26 Thread Lukasz Czechowski
The reset GPIO is obtained during driver probing by the function devm_gpiod_get_optional, which means the GPIO will be automatically freed when the device is removed. Because of this, explicit call to free the reset GPIO in hub remove function is not needed. To support the Managed device resources,