diff options
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2020-12-13 17:17:20 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2021-01-04 15:38:35 +0100 |
commit | 50a710873306ebe32b9a282051b2c1d0948368d3 (patch) | |
tree | 2ce8e02c42c03b8cbcac774b538768d812876753 /drivers/rtc/rtc-hym8563.c | |
parent | 8a55d64c3336fc2ffd488a37d08ceab154c7b56b (diff) |
pinctrl: ralink: rt2880: use 'PTR_ERR_OR_ZERO'
Avoid some boilerplate code using 'PTR_ERR_OR_ZERO'
in probe function.
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20201213161721.6514-8-sergio.paracuellos@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/rtc/rtc-hym8563.c')
0 files changed, 0 insertions, 0 deletions