driver core: Skip unnecessary work when device doesn't have sync_state()