[PATCH 4.14 07/15] driver core: Extend device_is_dependent()