[PATCH 5.10 144/199] driver core: Extend device_is_dependent()