Attorney fees shall be allowed to the prevailing party in any proceeding arising out of this chapter or a rental agreement.