aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorManivannan Sadhasivam <[email protected]>2023-12-08 12:28:55 +0530
committerMartin K. Petersen <[email protected]>2023-12-13 23:03:46 -0500
commitc7afadacc180ae655aa98577aca8fb5fdfb4a761 (patch)
tree605973f344dd972c9572343f5d2f4ce44024540d /scripts/generate_rust_analyzer.py
parent8291652ed8a20b7c19a6fce0ad04cccbd629a620 (diff)
scsi: ufs: qcom: Use dev_err_probe() to simplify error handling of devm_gpiod_get_optional()
As done in other places, let's use dev_err_probe() to simplify the error handling while acquiring the device reset gpio using devm_gpiod_get_optional(). While at it, let's reword the error message to make it clear that the failure is due to acquiring "device reset gpio". Reviewed-by: Andrew Halaney <[email protected]> Signed-off-by: Manivannan Sadhasivam <[email protected]> Link: https://lore.kernel.org/r/[email protected] Tested-by: Andrew Halaney <[email protected]> # sa8775p-ride Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions