Skip to content
Commit 43699dea authored by Stephen Warren's avatar Stephen Warren Committed by Linus Walleij
Browse files

pinctrl: pass name instead of device to pin_config_*



Obtaining a "struct pinctrl_dev *" is difficult for code not directly
related to the pinctrl subsystem. However, the device name of the pinctrl
device is fairly well known. So, modify pin_config_*() to take the device
name instead of the "struct pinctrl_dev *".

Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
[rebased on top of refactoring code]
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 63fd5984
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment