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)
commit04bf3d7e5ba862214f1c761778c414be95e2dfb9
tree39bc4096c4c00b41c819a6c126af579aab488832
parent1fcacca40a1c9b45b5390c86c4eefd99ad0f2418
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