Skip to content
Commit 5b471dee authored by Tom Rini's avatar Tom Rini
Browse files

power_spi.c: Rewrite pmic_reg function



The pmic_spi_free function isn't ever used, and as the frameworks stand
today, cannot be, so remove it.  Integrate the probe function into
pmic_reg as it's not really a "probe" today.  Finally, add an err label
for the common failure cases.

Cc: Lukasz Majewski <l.majewski@samsung.com>
Cc: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Stefano Babic <sbabic@denx.de>
Signed-off-by: default avatarTom Rini <trini@ti.com>
Acked-by: default avatarStefano Babic <sbabic@denx.de>
parent c6150aaf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment