diff options
author | Damien Le Moal <damien.lemoal@wdc.com> | 2020-11-30 19:57:49 +0900 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-11-30 17:35:01 +0100 |
commit | 7d3615ae401146ab40115546667e8ebc0d5c7d73 (patch) | |
tree | 77c01440702f4b33dd7a2dc77b30bb45ae8dc028 /drivers/gpio/gpio-xra1403.c | |
parent | 5300ebb695fa0672589ab191062392f686fca75d (diff) |
gpio: dwapb: Remove unnecessary error message
In dwapb_get_reset(), if devm_reset_control_get_optional_shared() fails,
an error message is printed even if the failure is the benign
EPROBE_DEFER error due to the reset controller not yet being
initialized. Use dev_err_probe() to handle
devm_reset_control_get_optional_shared() errors to avoid unnecessarilly
printing an error message for the deferred probe error.
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'drivers/gpio/gpio-xra1403.c')
0 files changed, 0 insertions, 0 deletions