mfd: stmpe: Rid data size incompatibility warn when building for 64bit
authorLee Jones <lee.jones@linaro.org>
Wed, 2 Jul 2014 10:54:32 +0000 (11:54 +0100)
committerLee Jones <lee.jones@linaro.org>
Wed, 9 Jul 2014 15:37:55 +0000 (16:37 +0100)
commitc00572bc94684a61628a7f6f34f5ce64345742cc
treea99495b701316c554a049cfa1133d63368f06920
parent52764fd9ab5e1fa0d7e159ce6147d0288be595a7
mfd: stmpe: Rid data size incompatibility warn when building for 64bit

Extinguishes:

../drivers/mfd/stmpe-i2c.c: In function ‘stmpe_i2c_probe’:
../drivers/mfd/stmpe-i2c.c:88:13:
warning: cast from pointer to integer of different size
partnum = (int)of_id->data;

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/stmpe-i2c.c
drivers/mfd/stmpe.c
drivers/mfd/stmpe.h