clockevent_set_state
clockevent_set_state(dev, state);
clockevent_set_state(dev, CLOCK_EVT_STATE_DETACHED);