Commit fe4211d
platform/x86: ISST: Shorten the assignments for power_domain_info
Instead of long lines for assignment to tpmi_sst->power_domain_info, use
a local variable pd_info and assign later. Also move the assignment
of number of resources after the assignment of pd_info.
No functional change is expected.
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20240423204619.3946901-7-srinivas.pandruvada@linux.intel.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>1 parent 8c5a689 commit fe4211d
File tree
1 file changed
+16
-17
lines changed- drivers/platform/x86/intel/speed_select_if
1 file changed
+16
-17
lines changedLines changed: 16 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1271 | 1271 | | |
1272 | 1272 | | |
1273 | 1273 | | |
| 1274 | + | |
1274 | 1275 | | |
1275 | 1276 | | |
1276 | 1277 | | |
| |||
1311 | 1312 | | |
1312 | 1313 | | |
1313 | 1314 | | |
1314 | | - | |
1315 | | - | |
1316 | | - | |
1317 | | - | |
| 1315 | + | |
| 1316 | + | |
1318 | 1317 | | |
1319 | 1318 | | |
1320 | | - | |
1321 | | - | |
1322 | 1319 | | |
1323 | 1320 | | |
1324 | 1321 | | |
1325 | 1322 | | |
1326 | 1323 | | |
1327 | | - | |
| 1324 | + | |
1328 | 1325 | | |
1329 | 1326 | | |
1330 | 1327 | | |
1331 | | - | |
1332 | | - | |
1333 | | - | |
1334 | | - | |
1335 | | - | |
1336 | | - | |
1337 | | - | |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
| 1331 | + | |
| 1332 | + | |
| 1333 | + | |
| 1334 | + | |
1338 | 1335 | | |
1339 | | - | |
| 1336 | + | |
1340 | 1337 | | |
1341 | | - | |
1342 | | - | |
| 1338 | + | |
| 1339 | + | |
1343 | 1340 | | |
1344 | 1341 | | |
1345 | 1342 | | |
| |||
1350 | 1347 | | |
1351 | 1348 | | |
1352 | 1349 | | |
| 1350 | + | |
| 1351 | + | |
1353 | 1352 | | |
1354 | 1353 | | |
1355 | 1354 | | |
| |||
0 commit comments