misc: Fix cs5535 printk warnings
authorJoe Perches <joe@perches.com>
Mon, 20 Dec 2010 10:26:19 +0000 (11:26 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 14 Jan 2011 11:38:10 +0000 (12:38 +0100)
commit7eb19812eead8d0faf30682b69970b36dc02e570
tree33f4f1acf542fc63e094bddc84a3c5dfaa8f7aad
parent25a947f805b4132b69f2561589e17a0fe45552b6
misc: Fix cs5535 printk warnings

drivers/misc/cs5535-mfgpt.c: In function 'cs5535_mfgpt_probe':
drivers/misc/cs5535-mfgpt.c:320: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'resource_size_t'
drivers/misc/cs5535-mfgpt.c:320: 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/misc/cs5535-mfgpt.c