Skip to content
Commit 1d3b5aaa authored by Markuss Broks's avatar Markuss Broks Committed by Pavel Machek
Browse files

leds: ktd2692: Avoid duplicate error messages on probe deferral



Use dev_err_probe instead of dev_err to avoid duplicate error
messages if the GPIO allocation makes the probe defer.

Signed-off-by: default avatarMarkuss Broks <markuss.broks@gmail.com>
Signed-off-by: default avatarPavel Machek <pavel@ucw.cz>
parent e1347bd4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment