Home
last modified time | relevance | path

Searched hist:"541 f597f" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/regulator/
H A Dtps62360-regulator.c541f597f Fri Jan 03 10:07:55 CST 2014 David Howells <dhowells@redhat.com> 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>
541f597f Fri Jan 03 10:07:55 CST 2014 David Howells <dhowells@redhat.com> 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>