From: Linus Walleij Date: Thu, 23 Jan 2014 14:20:01 +0000 (+0100) Subject: regulator: ab3100: cast fix X-Git-Tag: v3.14-rc2~24^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23e21ddf6c3d9cb37aa69da496f80e8481e2c8bd;p=pandora-kernel.git regulator: ab3100: cast fix The AB3100 regulator driver emits a warning when compiled on 64bit systems like this: drivers/regulator/ab3100.c: In function ‘ab3100_regulator_of_probe’: srivers/regulator/ab3100.c:649:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] As the int is a different size than the 64bit pointer used to pass regulator data. Switch to using an unsigned long as ID passed for the regulator to get rid of the warning. Reported-by: Lee Jones Signed-off-by: Linus Walleij Signed-off-by: Mark Brown --- Reading git-diff-tree failed