gpio/langwell: use devm_* helpers to simplify probe

Use devm_* helper functions where possible to make the error handling in
the probe function simpler.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
Mika Westerberg 2012-04-05 12:15:15 +03:00 • committed by Grant Likely
commit 8302c74138