]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
power: pmic: Use trailing_strtol() instead of a local function
authorSimon Glass <sjg@chromium.org>
Tue, 23 Jun 2015 21:39:16 +0000 (15:39 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:48:54 +0000 (13:48 +0200)
commit9ad9877984aec04b20a0c4dcdf33fba657fba11d
treeb4d295d995a40fbabe07f7700a0d6050d709f5cf
parentfd31d2f471a8501da408eec60a82a288a4e25743
power: pmic: Use trailing_strtol() instead of a local function

Use the common function to obtain the number from the end of the string,
instead of a local function. Also tweak the position of a debug() statement.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Przemyslaw Marczak <p.marczak@samsung.com>
Acked-by: Przemyslaw Marczak <p.marczak@samsung.com>
drivers/power/pmic/pmic-uclass.c