Measurement of the direct CP asymmetry in b -> s gamma decays