Thermal: kirkwood: Remove redundant use of of_match_ptr

'kirkwood_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 <[email protected]>
Cc: Nobuhiro Iwamatsu <[email protected]>
Acked-by: Eduardo Valentin <[email protected]>
Signed-off-by: Zhang Rui <[email protected]>
This commit is contained in:
Sachin Kamat 2013-05-16 10:28:10 +00:00 • committed by Zhang Rui
commit 90c3194e47

View file

@ -121,7 +121,7 @@ static struct platform_driver kirkwood_thermal_driver = {
.driver = {
.name = "kirkwood_thermal",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(kirkwood_thermal_id_table),
.of_match_table = kirkwood_thermal_id_table,
},
};