By the California Civil Code, a landlord can terminate a month-to-month tenancy for any reason, simply by serving notice.