]> Git Repo - linux.git/commitdiff
Thermal: spear: Remove redundant use of of_match_ptr
authorSachin Kamat <[email protected]>
Thu, 16 May 2013 10:28:11 +0000 (10:28 +0000)
committerZhang Rui <[email protected]>
Tue, 28 May 2013 02:45:35 +0000 (10:45 +0800)
'spear_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: Vincenzo Frascino <[email protected]>
Cc: Viresh Kumar <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Acked-by: Eduardo Valentin <[email protected]>
Signed-off-by: Zhang Rui <[email protected]>
drivers/thermal/spear_thermal.c

index 3c5ee5607977c562dca9209d44c1b2627a2b760f..838aff29b9d813de716268b3b5d3c0b2df24d9ca 100644 (file)
@@ -198,7 +198,7 @@ static struct platform_driver spear_thermal_driver = {
                .name = "spear_thermal",
                .owner = THIS_MODULE,
                .pm = &spear_thermal_pm_ops,
-               .of_match_table = of_match_ptr(spear_thermal_id_table),
+               .of_match_table = spear_thermal_id_table,
        },
 };
 
This page took 0.059126 seconds and 4 git commands to generate.