]> Git Repo - linux.git/commitdiff
Thermal: kirkwood: Remove redundant use of of_match_ptr
authorSachin Kamat <[email protected]>
Thu, 16 May 2013 10:28:10 +0000 (10:28 +0000)
committerZhang Rui <[email protected]>
Tue, 28 May 2013 02:45:33 +0000 (10:45 +0800)
'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]>
drivers/thermal/kirkwood_thermal.c

index dfeceaffbc03c3f462170d721124ad3b3eac1db9..61bbc2605b0251afc7c44417a044cec14bf5c973 100644 (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,
        },
 };
 
This page took 0.058171 seconds and 4 git commands to generate.