mirror of
https://github.com/torvalds/linux.git
synced 2026-12-02 19:42:26 +00:00
pinctrl: at91-pio4: use proper format specifier for unsigned int
Use %u instead of %d as line is unsigned int. Signed-off-by: Claudiu Beznea <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
committed by
Linus Walleij
parent
f03fff55e6
commit
5a8f9cf269
@@ -1144,7 +1144,7 @@ static int atmel_pinctrl_probe(struct platform_device *pdev)
|
||||
|
||||
pin_desc[i].number = i;
|
||||
/* Pin naming convention: P(bank_name)(bank_pin_number). */
|
||||
pin_desc[i].name = devm_kasprintf(&pdev->dev, GFP_KERNEL, "P%c%d",
|
||||
pin_desc[i].name = devm_kasprintf(&pdev->dev, GFP_KERNEL, "P%c%u",
|
||||
bank + 'A', line);
|
||||
|
||||
group->name = group_names[i] = pin_desc[i].name;
|
||||
|
||||
Reference in New Issue
Block a user