diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-16 10:28:09 +0000 |
---|---|---|
committer | MyungJoo Ham <myungjoo.ham@samsung.com> | 2013-11-15 13:52:43 +0900 |
commit | b9778b484b08a726a2e5bea68098b2aed908a0ff (patch) | |
tree | 40b70143baa825b7ac3759b8516b3eebea289d76 | |
parent | d5164cdafd9a6b466d44d406899295756f14a0f1 (diff) | |
download | linux-3.10-b9778b484b08a726a2e5bea68098b2aed908a0ff.tar.gz linux-3.10-b9778b484b08a726a2e5bea68098b2aed908a0ff.tar.bz2 linux-3.10-b9778b484b08a726a2e5bea68098b2aed908a0ff.zip |
Thermal: dove: Remove redundant use of of_match_ptr
'dove_thermal_id_table' is always compiled in and the driver
is dependent on OF. Hence use of of_match_ptr is unnecessary.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Andrew Lunn <andrew@lunn.ch>
Acked-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
-rw-r--r-- | drivers/thermal/dove_thermal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/dove_thermal.c b/drivers/thermal/dove_thermal.c index db83f7ed36b..828f5e345c3 100644 --- a/drivers/thermal/dove_thermal.c +++ b/drivers/thermal/dove_thermal.c @@ -185,7 +185,7 @@ static struct platform_driver dove_thermal_driver = { .driver = { .name = "dove_thermal", .owner = THIS_MODULE, - .of_match_table = of_match_ptr(dove_thermal_id_table), + .of_match_table = dove_thermal_id_table, }, }; |