mfd: Fix cs5535 warning on x86-64

ARRAY_SIZE() returns size_t; use %zu instead of %d so that we don't
get warnings on x86-64.

Signed-off-by: Andres Salomon <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Signed-off-by: Samuel Ortiz <[email protected]>
This commit is contained in:
Andres Salomon 2010-11-30 13:54:39 -08:00 • committed by Samuel Ortiz
commit 816b4580ce

View file

@ -103,7 +103,7 @@ static int __devinit cs5535_mfd_probe(struct pci_dev *pdev,
goto err_disable;
}
dev_info(&pdev->dev, "%d devices registered.\n",
dev_info(&pdev->dev, "%zu devices registered.\n",
ARRAY_SIZE(cs5535_mfd_cells));
return 0;