diff options
| author | Lee Jones <[email protected]> | 2017-02-08 09:24:25 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2017-03-14 10:36:41 +0100 |
| commit | 0043c1dfbec7b6e2427409059b05347d6f51aa9f (patch) | |
| tree | 8114aabec73947d515d2b9229d667d26abcd0be3 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | f759921cfbf4847319d197a6ed7c9534d593f8bc (diff) | |
serial: st-asc: Use new GPIOD API to obtain RTS pin
The commits mentioned below adapt the GPIO API to allow more information
to be passed directly through devm_get_gpiod_from_child() in the first
instance. This facilitates the removal of subsequent calls, such as
gpiod_direction_output(). This patch firstly moves to utilise the new
API and secondly removes the now superfluous call do set the direction.
Reported-by: Stephen Rothwell <[email protected]>
Suggested-by: Boris Brezillon <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
[Also drop the header file dummies that only this driver was using]
Acked-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions