]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitae27d6a22b4848897cf6f31a071f8cce3c1f3a26
tree54cfe08f22f5b17e902e471e1b60ddfa2022ac73
parent3df53214183047c456b5670be76fb2f71025d599
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