drivers/mfd/tps65217.c: fix pointer-integer size mismatch warning in tps65217_probe()
authorDavid Howells <dhowells@redhat.com>
Thu, 23 Jan 2014 23:54:05 +0000 (15:54 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 24 Jan 2014 00:36:55 +0000 (16:36 -0800)
commitc6d5f989e14f36d5ff71a9b79a6d3c3bf06c185f
treebc8f1c26dda39566401762f312f436b5d549183c
parentf30c0c32b69b6467fa23e2798432262428587471
drivers/mfd/tps65217.c: fix pointer-integer size mismatch warning in tps65217_probe()

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

drivers/mfd/tps65217.c: In function 'tps65217_probe':
drivers/mfd/tps65217.c:173:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   chip_id = (unsigned int)match->data;
     ^

Signed-off-by: David Howells <dhowells@redhat.com>
Cc: AnilKumar Ch <anilkumar@ti.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/mfd/tps65217.c