power: supply: pm2301_charger: remove unnecessary variable
authorNigel Christian <nigel.l.christian@gmail.com>
Sat, 14 Nov 2020 04:57:47 +0000 (23:57 -0500)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Mon, 30 Nov 2020 00:44:11 +0000 (01:44 +0100)
commit91bc9e1938c4682972541cba784f335af2b81f66
treec37990ace482c907b615032557c02479f2324476
parentdf12470ce775cd126f26c96d240959b0c1929e23
power: supply: pm2301_charger: remove unnecessary variable

The variable "ret" is initialized to zero and then returned.
Remove it and return zero.

Signed-off-by: Nigel Christian <nigel.l.christian@gmail.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/pm2301_charger.c