Nothing in this chapter shall be construed as requiring the director to report for prosecution or to institute injunction proceedings for any minor violation of this chapter whenever he believes that the public interest will be adquately served by a suitable written notice of warning, and compliance with such notice.