diff options
| author | 2022-08-30 20:58:26 -0700 | |
|---|---|---|
| committer | 2022-08-30 21:16:05 -0700 | |
| commit | e960309ce31865713051854d38740575a6bc0a60 (patch) | |
| tree | 3b3506c78862a290434a8359a3ef2ed83fb4df5d /include/linux/platform_data | |
| parent | gpio: gpio-adp5588: drop the driver (diff) | |
| download | linux-dev-e960309ce31865713051854d38740575a6bc0a60.tar.xz linux-dev-e960309ce31865713051854d38740575a6bc0a60.zip | |
Input: adp5588-keys - bail out on returned error
Don't continue in code paths after some error is found. It makes no
sense to do any other device configuration if a previous one failed.
Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220829131553.690063-4-nuno.sa@analog.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions
