]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: armada: Pass the platform_device to init_sensor()
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Tue, 6 May 2014 16:59:48 +0000 (13:59 -0300)
committerZhang Rui <rui.zhang@intel.com>
Thu, 15 May 2014 09:12:47 +0000 (17:12 +0800)
commit91265bf537799e03c800065f24c8e2b714ce4e1b
tree39bc4096c4c00b41c819a6c126af579aab488832
parent352d4f71785cc7973c05523da80ba9d9b0622f30
thermal: armada: Pass the platform_device to init_sensor()

In order to perform SoC-specific quirks on platforms that need them,
this commit adds a new parameter to the init_sensor() function.
This will be used to support early silicons of the Armada 375 SoC,
to workaround some hardware issues.

Acked-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/armada_thermal.c