gpio: Fix cs5535 printk warnings
authorJoe Perches <joe@perches.com>
Mon, 20 Dec 2010 10:28:40 +0000 (11:28 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 14 Jan 2011 11:38:11 +0000 (12:38 +0100)
commit1db0b427eec6f18477fa95aab8edf6176dffcea4
tree54cfe08f22f5b17e902e471e1b60ddfa2022ac73
parent7eb19812eead8d0faf30682b69970b36dc02e570
gpio: Fix cs5535 printk warnings

drivers/gpio/cs5535-gpio.c: In function 'cs5535_gpio_probe':
drivers/gpio/cs5535-gpio.c:269: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'resource_size_t'
drivers/gpio/cs5535-gpio.c:269: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'resource_size_t'

Use vsprintf extension %pR to format resource.

Original-patch-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/gpio/cs5535-gpio.c