diff options
author | BALATON Zoltan <balaton@eik.bme.hu> | 2019-01-03 17:27:24 +0100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2019-02-04 18:44:17 +1100 |
commit | 70812bf70973f02366421c1549fab4036853aea3 (patch) | |
tree | ce73584d649d3fefe073ad4e7ef92accd3e7bb13 /docs/multiseat.txt | |
parent | 0a57fbee209f9d799f53dbcd77f3062649b61b08 (diff) |
ppc4xx: Pass array index to function instead of pointer into the array
The sdram_set_bcr() function in ppc440_uc.c takes a pointer into an
array then calculates its index from that. It's simpler and easier to
just pass the index which simplifies both the function and its callers.
Do similar cleanup in ppc4xx_devs.c to similar function.
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'docs/multiseat.txt')
0 files changed, 0 insertions, 0 deletions