Simplified cbd->idle and cbd->dev