Commit 0aeef279 authored by Marek Vasut's avatar Marek Vasut
Browse files

rcar_gen3: drivers: pfc: H3: Checkpatch cleanup



Checkpatch cleanups of the PFC init code and remaining SoC specific macros.
No functional change.
Signed-off-by: default avatarMarek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I31293e70a362f713261ac588f563c687449c5f6c
parent 54d884cb
......@@ -557,7 +557,7 @@ static void pfc_reg_write(uint32_t addr, uint32_t data);
static void pfc_reg_write(uint32_t addr, uint32_t data)
{
mmio_write_32(PFC_PMMR, ~data);
mmio_write_32((uintptr_t) addr, data);
mmio_write_32((uintptr_t)addr, data);
}
void pfc_init_h3_v1(void)
......
......@@ -587,7 +587,7 @@ static void pfc_reg_write(uint32_t addr, uint32_t data);
static void pfc_reg_write(uint32_t addr, uint32_t data)
{
mmio_write_32(PFC_PMMR, ~data);
mmio_write_32((uintptr_t) addr, data);
mmio_write_32((uintptr_t)addr, data);
}
void pfc_init_h3_v2(void)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment