thermal: palmas: use module_platform_driver to reduce boiler plate code
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 23 Apr 2014 10:01:06 +0000 (15:01 +0530)
committerLaxman Dewangan <ldewangan@nvidia.com>
Tue, 29 Apr 2014 09:54:34 +0000 (02:54 -0700)
commit4a4e34bda6087e723139e8352847277035acf2f3
tree4bfccb19c4fd74a28ce2fe726b0f1176809ab0de
parentc72b366e010b5cfbac6541eb339a0324b863ff17
thermal: palmas: use module_platform_driver to reduce boiler plate code

Use macro module_platform_driver to reduce boiler plate code. This register
drivers as platform driver.

Change-Id: I00e998bb8de78746bd46bb7ec764e982a0fb1f1e
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/400354
drivers/thermal/palmas_thermal.c