Home
last modified time | relevance | path

Searched hist:fbbf4280dae4c02d2f176a8fdac7a7d32fe76fc0 (Results 1 – 2 of 2) sorted by relevance

/linux/arch/powerpc/platforms/8xx/
H A Dcpm1.cdiff fbbf4280dae4c02d2f176a8fdac7a7d32fe76fc0 Tue Aug 08 08:04:42 CEST 2023 Christophe Leroy <christophe.leroy@csgroup.eu> powerpc/8xx: Remove immr_map() and immr_unmap()

Since commit fb533d0c5a97 ("[POWERPC] 8xx: Infrastructure code cleanup.")
immr_map() is just returning mpc8xxx_immr pointer and immr_unmap()
do nothing.

We already have parts of code that use mpc8xxx_immr directly so get rid
of immr_map() and immr_unmap() by using mpc8xxx_immr directly. And avoid
going through local pointers that hide the pointed structure.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/633ed46f6015ff44d5599258647ea517f75d6a1d.1691474658.git.christophe.leroy@csgroup.eu
H A Dm8xx_setup.cdiff fbbf4280dae4c02d2f176a8fdac7a7d32fe76fc0 Tue Aug 08 08:04:42 CEST 2023 Christophe Leroy <christophe.leroy@csgroup.eu> powerpc/8xx: Remove immr_map() and immr_unmap()

Since commit fb533d0c5a97 ("[POWERPC] 8xx: Infrastructure code cleanup.")
immr_map() is just returning mpc8xxx_immr pointer and immr_unmap()
do nothing.

We already have parts of code that use mpc8xxx_immr directly so get rid
of immr_map() and immr_unmap() by using mpc8xxx_immr directly. And avoid
going through local pointers that hide the pointed structure.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/633ed46f6015ff44d5599258647ea517f75d6a1d.1691474658.git.christophe.leroy@csgroup.eu