Re: [PATCH v7 5/8] platform: Add test managed platform_device/driver APIs

2024-07-15 Thread Stephen Boyd
Quoting Stephen Boyd (2024-07-10 13:12:41) > Introduce KUnit resource wrappers around platform_driver_register(), > platform_device_alloc(), and platform_device_add() so that test authors > can register platform drivers/devices from their tests and have the > drivers/devices automatically be unregi

[PATCH v7 5/8] platform: Add test managed platform_device/driver APIs

2024-07-10 Thread Stephen Boyd
Introduce KUnit resource wrappers around platform_driver_register(), platform_device_alloc(), and platform_device_add() so that test authors can register platform drivers/devices from their tests and have the drivers/devices automatically be unregistered when the test is done. This makes test setu