Charge-ordering contribution to the magnetic entropy change of manganites