commit | 2e75cfaa32c113568994eda716a0bdddc92b376e | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Sat Jul 13 01:18:14 2019 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Wed Jul 24 12:58:52 2019 +0300 |
tree | 0db8e2e4177f08fa565fc83d8b8e3116193e4747 | |
parent | 9609b904c7eb411020d367d1f0904d0691819592 [diff] |
Input: elan_i2c - switch to using devm_add_action_or_reset() Instead of manually disabling regulators when devm_add_action() fails we can use devm_add_action_or_reset() which does it for us. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>