regulator: max8660: fix build warnings
authorDaniel Mack <zonque@gmail.com>
Thu, 8 Aug 2013 10:02:18 +0000 (12:02 +0200)
committerMark Brown <broonie@linaro.org>
Thu, 8 Aug 2013 10:43:10 +0000 (11:43 +0100)
commitd6c7e1139591b9ba7c4ad9c5eec748f0a68ad212
treefc725cd3031a71ba29db586e001a34f720efbe8b
parentabe4c51afda02423c81da6f1eaaa50b733f1ecc2
regulator: max8660: fix build warnings

Fix a build warning for !CONFIG_OF and a cast from void* to
unsigned int which is invalid on 64bit machines.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/max8660.c