summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/dummy.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-08-06 23:44:19 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-08-07 18:07:55 +0100
commit2f6c797f84fd764efb5eeb7cbb6a80a7244bd13c (patch)
tree02e0d421bbdda46d1bf869f8b6f530adbf0407a6 /drivers/regulator/dummy.c
parentc6d678b632904261d07c39cd88d9e1bccdda2e37 (diff)
downloadop-kernel-dev-2f6c797f84fd764efb5eeb7cbb6a80a7244bd13c.zip
op-kernel-dev-2f6c797f84fd764efb5eeb7cbb6a80a7244bd13c.tar.gz
regulator: core: Fix cast to pointer from integer of different size warning
This is to address the following warning during compilation time: (Compile on x86_64) CC drivers/regulator/core.o drivers/regulator/core.c: In function '_regulator_do_set_voltage': drivers/regulator/core.c:2183:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] This patch adds a temporary variable to avoid double cast. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/dummy.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud