|
15 | 15 | * Machines for which the cpufreq device is *always* created, mostly used for |
16 | 16 | * platforms using "operating-points" (V1) property. |
17 | 17 | */ |
18 | | -static const struct of_device_id whitelist[] __initconst = { |
| 18 | +static const struct of_device_id allowlist[] __initconst = { |
19 | 19 | { .compatible = "allwinner,sun4i-a10", }, |
20 | 20 | { .compatible = "allwinner,sun5i-a10s", }, |
21 | 21 | { .compatible = "allwinner,sun5i-a13", }, |
@@ -100,7 +100,7 @@ static const struct of_device_id whitelist[] __initconst = { |
100 | 100 | * Machines for which the cpufreq device is *not* created, mostly used for |
101 | 101 | * platforms using "operating-points-v2" property. |
102 | 102 | */ |
103 | | -static const struct of_device_id blacklist[] __initconst = { |
| 103 | +static const struct of_device_id blocklist[] __initconst = { |
104 | 104 | { .compatible = "allwinner,sun50i-h6", }, |
105 | 105 |
|
106 | 106 | { .compatible = "arm,vexpress", }, |
@@ -179,13 +179,13 @@ static int __init cpufreq_dt_platdev_init(void) |
179 | 179 | if (!np) |
180 | 180 | return -ENODEV; |
181 | 181 |
|
182 | | - match = of_match_node(whitelist, np); |
| 182 | + match = of_match_node(allowlist, np); |
183 | 183 | if (match) { |
184 | 184 | data = match->data; |
185 | 185 | goto create_pdev; |
186 | 186 | } |
187 | 187 |
|
188 | | - if (cpu0_node_has_opp_v2_prop() && !of_match_node(blacklist, np)) |
| 188 | + if (cpu0_node_has_opp_v2_prop() && !of_match_node(blocklist, np)) |
189 | 189 | goto create_pdev; |
190 | 190 |
|
191 | 191 | of_node_put(np); |
|
0 commit comments