commit | 869b04957fc2d1b785e15a301e3160d76742551f | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Jun 23 15:39:16 2015 -0600 |
committer | Simon Glass <sjg@chromium.org> | Tue Jul 21 17:39:30 2015 -0600 |
tree | 964c6905bff2c125a9b4d082a2b3663f38dbcc92 | |
parent | 36ad2349808e76ac210447cbefa08e5e6de78ec8 [diff] |
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>