commit | fbe6a536cf9c71ac02b763b76ad7395132d4ecbc | [log] [tgz] |
---|---|---|
author | Andi Shyti <andi@etezian.org> | Mon Jan 22 16:08:51 2018 -0800 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Mon Jan 22 16:25:53 2018 -0800 |
tree | 770618fd6111ebec8e3107adab37ff96b33d8412 | |
parent | f8c5938f6919bfe7b82ed34472bee1eb637ddbea [diff] |
Input: ad7877 - use managed resource allocations Use managed resource allocations to simplify error handling during probing failure and module exiting. With this all the goto labels in the probe function together with the cleanups in the remove function are unnecessary, therefore removed. Signed-off-by: Andi Shyti <andi@etezian.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>