]> asedeno.scripts.mit.edu Git - linux.git/commit
thermal: armada: rename the initialization routine
authorMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 16 Jul 2018 14:41:47 +0000 (16:41 +0200)
committerEduardo Valentin <edubezval@gmail.com>
Fri, 27 Jul 2018 21:43:05 +0000 (14:43 -0700)
commit8b4c2712cd7cbf9f83b8032550c7cbdfcdf970eb
treeeeb263f6951499075a85e85da3cc162d1b320c5d
parentc5d7d57e6892e1613157c89c22b13441f9d2ddf5
thermal: armada: rename the initialization routine

Calling a hook ->init_sensor() while what is initialized is the IP
itself and not the sensors is misleading. Rename the hook ->init() to
avoid any confusion in later work bringing multi-sensors support.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/armada_thermal.c