Commit 4f3b436e authored by Devyn Liu's avatar Devyn Liu Committed by Bartosz Golaszewski
Browse files

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: default avatarDevyn Liu <liudingyuan@huawei.com>
Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
parent 668706b1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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++;