As long as you keep your liquid or aerosol deodorant in a container that is smaller than 3.4 ounces (100ml) and store it in a quart-sized, zip-top bag, you shouldn't have a problem traveling with it. There are no restrictions for packing solid deodorants in your carry-on luggage.