[PATCH RESEND 1/2] drivers: base: Add basic devm tests for root devices