From: Cai Huoqing <hidden> Date: 2021-09-16 15:34:42
When possible use dev_err_probe help to properly deal with the
PROBE_DEFER error, the benefit is that DEFER issue will be logged
in the devices_deferred debugfs file.
Using dev_err_probe() can reduce code size, and the error value
gets printed.
Signed-off-by: Cai Huoqing <redacted>
---
drivers/input/touchscreen/silead.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
From: Hans de Goede <hidden> Date: 2021-09-17 18:37:48
Hi,
On 9/16/21 5:34 PM, Cai Huoqing wrote:
When possible use dev_err_probe help to properly deal with the
PROBE_DEFER error, the benefit is that DEFER issue will be logged
in the devices_deferred debugfs file.
Using dev_err_probe() can reduce code size, and the error value
gets printed.
Signed-off-by: Cai Huoqing <redacted>
Thanks, patch looks good to me:
Reviewed-by: Hans de Goede <redacted>
Regards,
Hans