power: reset: ltc2952: prefer devm_gpiod_get over gpiod_get
authorFrans Klaver <frans.klaver@xsens.com>
Wed, 14 Jan 2015 08:15:37 +0000 (09:15 +0100)
committerSebastian Reichel <sre@kernel.org>
Tue, 20 Jan 2015 12:58:28 +0000 (13:58 +0100)
commit62113b31174a9dba99eda8a4222417dd526c7c79
treec6310287b71da6549adafebf59391d15d80c7aba
parentf66472df697ed6341e2317d5c825f2d6916ae47f
power: reset: ltc2952: prefer devm_gpiod_get over gpiod_get

This reduces cleanup code and chance of errors.

Signed-off-by: Frans Klaver <frans.klaver@xsens.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/reset/ltc2952-poweroff.c