staging: hikey9xx: hi6421-spmi-pmic: cleanup probe code
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 29 Jan 2021 19:51:50 +0000 (20:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 Jan 2021 12:42:41 +0000 (13:42 +0100)
commita2e904fc59e15d9e4128415579a2664ab3a1ed14
tree0b3c1b6f4889a775129e661220dee6824030bb96
parentfcd732406c5d65ba92515af81ca281a4f8348687
staging: hikey9xx: hi6421-spmi-pmic: cleanup probe code

Cleanup the error handling code, making the messages more
consistent and removing an uneeded call to free_irq().

While here, also remove debug messages and make the
error messages more consistent.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/651b4053599b9f25efecac3b1d4ce6abce0bd097.1611949675.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/hikey9xx/hi6421-spmi-pmic.c