gpio: hisi: Fix format specifier

The hisi_gpio->line is unsigned int so the format specifier
should have been %u not %d.

Signed-off-by: Devyn Liu <liudingyuan@huawei.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
This commit is contained in:
Devyn Liu 2023-10-12 18:54:11 +08:00 committed by Bartosz Golaszewski
parent 668706b10c
commit 4f3b436eea
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ static void hisi_gpio_get_pdata(struct device *dev,
hisi_gpio->irq = platform_get_irq(pdev, idx);
dev_info(dev,
"get hisi_gpio[%d] with %d lines\n", idx,
"get hisi_gpio[%d] with %u lines\n", idx,
hisi_gpio->line_num);
idx++;