mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 22:14:04 +02:00
gpio: rk8xx: print probe successful info
because gpio framework doesn't print any related info Change-Id: I2325270027210432cd31d1cec6caf19770363705 Signed-off-by: chenjh <chenjh@rock-chips.com>
This commit is contained in:
parent
27f255aa55
commit
91a3b9bf46
|
|
@ -221,8 +221,13 @@ static int rk8xx_gpio_probe(struct platform_device *pdev)
|
|||
platform_set_drvdata(pdev, gi);
|
||||
|
||||
ret = gpiochip_add(&gi->gpio_chip);
|
||||
if (ret)
|
||||
if (ret) {
|
||||
dev_err(&pdev->dev, "register rk8xx gpiochip fail: %d\n", ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
dev_info(&pdev->dev, "register rk%lx gpio successful\n",
|
||||
rk8xx->variant);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user