It is an infraction to smoke a cigarette:

You may not smoke in a vehicle while transporting a child who is age 15 or younger. Doing so is an infraction.
DMV Writen Test