From: Axel Lin Date: Mon, 6 Aug 2012 15:44:19 +0000 (+0800) Subject: regulator: core: Fix cast to pointer from integer of different size warning X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~106^2^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f6c797f84fd764efb5eeb7cbb6a80a7244bd13c;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed