mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 03:27:03 +02:00
pwm: pwm-qti-lpg: Don't print error log for -EPROBE_DEFER
Currently, an error log is printed every time when parsing a DT property fails because of probe deferral. Fix it. Change-Id: Ic63c18393494b38bfb09a7ca85fd738dd2de56fd Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
This commit is contained in:
parent
ed90ef941a
commit
4b49bbb8e9
|
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2018-2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#define pr_fmt(fmt) "%s: " fmt, __func__
|
||||
|
|
@ -1686,7 +1686,8 @@ static int qpnp_lpg_probe(struct platform_device *pdev)
|
|||
mutex_init(&chip->bus_lock);
|
||||
rc = qpnp_lpg_parse_dt(chip);
|
||||
if (rc < 0) {
|
||||
dev_err(chip->dev, "Devicetree properties parsing failed, rc=%d\n",
|
||||
if (rc != -EPROBE_DEFER)
|
||||
dev_err(chip->dev, "Devicetree properties parsing failed, rc=%d\n",
|
||||
rc);
|
||||
goto err_out;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user