diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-06-12 17:19:15 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-06-12 11:52:29 +0100 |
commit | 25c8888ad65f812c847ae58398a5f8f1b20b0a95 (patch) | |
tree | 3f32f4710b51dc43fae8747b8573f85f60123a1f /net/lapb/lapb_timer.c | |
parent | 48edaa4b4fb6e75b890942394f0d0c2571d5c90d (diff) |
ASoC: rt5645: Use devm_gpiod_get_optional for hp-detect
Since hp-detect is optional, use devm_gpiod_get_optional instead.
In additional, it should return error if devm_gpiod_get_optional fails.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions