mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-23 12:14:10 +08:00
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:
parent
668706b10c
commit
4f3b436eea
@ -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++;
|
||||
|
Loading…
Reference in New Issue
Block a user