regulator: tps62360: Fix up a pointer-integer size mismatch warning
authorDavid Howells <dhowells@redhat.com>
Fri, 3 Jan 2014 16:07:55 +0000 (16:07 +0000)
committerMark Brown <broonie@linaro.org>
Mon, 6 Jan 2014 12:38:11 +0000 (12:38 +0000)
commit541f597f1080ee615534cb6ccb2253891a29535c
tree600994a0c6315bb3cc499284ac0ac73666ac0171
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae
regulator: tps62360: Fix up a pointer-integer size mismatch warning

Fix up the following pointer-integer size mismatch warning in tps62360_probe():

drivers/regulator/tps62360-regulator.c: In function 'tps62360_probe':
drivers/regulator/tps62360-regulator.c:363:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   chip_id = (int)match->data;
     ^

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/tps62360-regulator.c