We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6742ca6 commit c157a60Copy full SHA for c157a60
drivers/i3c/master/mipi-i3c-hci/core.c
@@ -768,13 +768,8 @@ static int i3c_hci_probe(struct platform_device *pdev)
768
static int i3c_hci_remove(struct platform_device *pdev)
769
{
770
struct i3c_hci *hci = platform_get_drvdata(pdev);
771
- int ret;
772
773
- ret = i3c_master_unregister(&hci->master);
774
- if (ret)
775
- return ret;
776
-
777
- return 0;
+ return i3c_master_unregister(&hci->master);
778
}
779
780
static const __maybe_unused struct of_device_id i3c_hci_of_match[] = {
0 commit comments