Skip to content

Commit

Permalink
usb: dwc3: xilinx: Fix alignment issues
Browse files Browse the repository at this point in the history
Alignment should match open parenthesis as is reported by checkpatch.pl
that's why fix it.

Warning log:
CHECK: Alignment should match open parenthesis
+		dev_dbg(dev, "%s:Trying to set power state to D0....\n",
+			 __func__);

CHECK: Alignment should match open parenthesis
+	SET_RUNTIME_PM_OPS(dwc3_xlnx_runtime_suspend,
+			dwc3_xlnx_runtime_resume, dwc3_xlnx_runtime_idle)

Signed-off-by: Michal Simek <[email protected]>
  • Loading branch information
michalsimek committed Jun 17, 2022
1 parent d45f83b commit c03d13d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/usb/dwc3/dwc3-xilinx.c
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ static int dwc3_versal_power_req(struct device *dev, bool on)

if (on) {
dev_dbg(dev, "%s:Trying to set power state to D0....\n",
__func__);
__func__);

if (priv_data->pmu_state == D0_STATE)
return 0;
Expand Down Expand Up @@ -742,7 +742,7 @@ static int __maybe_unused dwc3_xlnx_resume(struct device *dev)
static const struct dev_pm_ops dwc3_xlnx_dev_pm_ops = {
SET_SYSTEM_SLEEP_PM_OPS(dwc3_xlnx_suspend, dwc3_xlnx_resume)
SET_RUNTIME_PM_OPS(dwc3_xlnx_runtime_suspend,
dwc3_xlnx_runtime_resume, dwc3_xlnx_runtime_idle)
dwc3_xlnx_runtime_resume, dwc3_xlnx_runtime_idle)
};

static struct platform_driver dwc3_xlnx_driver = {
Expand Down

0 comments on commit c03d13d

Please sign in to comment.