regulator: lp872x: fix a build waring and coding styles
authorMilo Kim <milo.kim@ti.com>
Wed, 3 Jul 2013 01:30:57 +0000 (10:30 +0900)
committerMark Brown <broonie@linaro.org>
Mon, 15 Jul 2013 10:22:03 +0000 (11:22 +0100)
commit37a6f43dd1924013cbf2eb91b74b3cc9818b3af8
treef40c5963f1c0b410ea96d78aaa6487def4d35110
parentad81f0545ef01ea651886dddac4bef6cec930092
regulator: lp872x: fix a build waring and coding styles

Fix a warning below.

  drivers/regulator/lp872x.c:910:33: warning: cast from pointer to integer of
                                     different size [-Wpointer-to-int-cast]

And checkpatch warnings are fixed.

  WARNING: space prohibited before semicolon

Signed-off-by: Milo Kim <milo.kim@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/lp872x.c