[PATCH 3/5] thermal/drivers/hisi: Encapsulate register writes into helpers