drivers: misc: therm_est: Add of_match_table
authorJinyoung Park <jinyoungp@nvidia.com>
Thu, 2 May 2013 11:56:05 +0000 (20:56 +0900)
committerHarry Hong <hhong@nvidia.com>
Mon, 13 Jan 2014 00:46:24 +0000 (16:46 -0800)
commit60ac52cc5034515b2de1e1eb9f627d0e92000f06
tree4e7a45e49249d74b1203fb1eb0c4f9144b8e40f6
parent85ba3c70fd78cfb674ca557180325d8ca790a24e
drivers: misc: therm_est: Add of_match_table

Added of_match_table in the driver structure.
If there is therm_est binding data in device tree, we don't need to add
platform_device_register() for therm_est device in board file.

Bug 1240803

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/224875
(cherry picked from commit 71deb2ba7174b010c63155a47c54de9a9ea7f7d7)

Change-Id: Ia85a74d3c7b69c3bd4be7859ec8daa8d09d0a4e1
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/353278
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>
drivers/misc/therm_est.c