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

2024-07-29 Thread Stephen Boyd
Quoting Stephen Boyd (2024-07-18 14:05:04) > 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 v8 5/8] platform: Add test managed platform_device/driver APIs

2024-07-18 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