diff options
author | Geert Uytterhoeven | 2023-07-17 08:50:36 -0700 |
---|---|---|
committer | Dmitry Torokhov | 2023-07-17 10:03:08 -0700 |
commit | 904ef2c47d8f3d0f0c7d5c0dd68ecc95908d7360 (patch) | |
tree | f75f24f76f6b6c56ff6e620c744fa762b52ece03 /scripts/Makefile.modpost | |
parent | dbce1a7d5dce7318d8465b1e0d052ef1d2202237 (diff) |
Input: gpio-keys - convert to dev_err_probe()
Use the dev_err_probe() helper, instead of open-coding the same
operation.
While at it, invert the error checking logic to simplify code flow.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/d225a837c50e2b19a41555a8f7ce0f94b1689aa4.1689600353.git.geert+renesas@glider.be
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'scripts/Makefile.modpost')
0 files changed, 0 insertions, 0 deletions