Here are two methods for creating a continuous loop for rotation.
Expression only:
radians_to_degrees(Math.PI*time*multiplier) //use any number as multiplier to make things faster or slower
Expressions + Keyframes:
loop_out("continue") //create at least two keyframes for the channel and then add the expression