power: regulator: max77686 correct variable type
authorPeng Fan <Peng.Fan@freescale.com>
Tue, 28 Jul 2015 14:47:08 +0000 (22:47 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:43 +0000 (08:17 +0200)
commit99aa6002aa9e1f3480d5fb6158e367358951cd32
treeb0ec4e7a17759fc49117876be27a504519460b7d
parent6f74ff02e8dc7582cf1fd5326cfa43151d06483a
power: regulator: max77686 correct variable type

The return type of pmic_read and pmic_write is signed int, so
correct variable 'ret' from type unsigned int to int.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Przemyslaw Marczak <p.marczak@samsung.com>
drivers/power/regulator/max77686.c