Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
993ffc5b
Commit
993ffc5b
authored
Aug 13, 2020
by
Felipe Balbi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usb: dwc3: qcom: fix checkpatch warnings
no functional changes Signed-off-by:
Felipe Balbi
<
balbi@kernel.org
>
parent
c64b475b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
drivers/usb/dwc3/dwc3-qcom.c
drivers/usb/dwc3/dwc3-qcom.c
+5
-3
No files found.
drivers/usb/dwc3/dwc3-qcom.c
View file @
993ffc5b
...
@@ -444,7 +444,9 @@ static int dwc3_qcom_setup_irq(struct platform_device *pdev)
...
@@ -444,7 +444,9 @@ static int dwc3_qcom_setup_irq(struct platform_device *pdev)
{
{
struct
dwc3_qcom
*
qcom
=
platform_get_drvdata
(
pdev
);
struct
dwc3_qcom
*
qcom
=
platform_get_drvdata
(
pdev
);
const
struct
dwc3_acpi_pdata
*
pdata
=
qcom
->
acpi_pdata
;
const
struct
dwc3_acpi_pdata
*
pdata
=
qcom
->
acpi_pdata
;
int
irq
,
ret
;
int
irq
;
int
ret
;
irq
=
dwc3_qcom_get_irq
(
pdev
,
"hs_phy_irq"
,
irq
=
dwc3_qcom_get_irq
(
pdev
,
"hs_phy_irq"
,
pdata
?
pdata
->
hs_phy_irq_index
:
-
1
);
pdata
?
pdata
->
hs_phy_irq_index
:
-
1
);
if
(
irq
>
0
)
{
if
(
irq
>
0
)
{
...
@@ -563,7 +565,7 @@ static const struct property_entry dwc3_qcom_acpi_properties[] = {
...
@@ -563,7 +565,7 @@ static const struct property_entry dwc3_qcom_acpi_properties[] = {
static
int
dwc3_qcom_acpi_register_core
(
struct
platform_device
*
pdev
)
static
int
dwc3_qcom_acpi_register_core
(
struct
platform_device
*
pdev
)
{
{
struct
dwc3_qcom
*
qcom
=
platform_get_drvdata
(
pdev
);
struct
dwc3_qcom
*
qcom
=
platform_get_drvdata
(
pdev
);
struct
device
*
dev
=
&
pdev
->
dev
;
struct
device
*
dev
=
&
pdev
->
dev
;
struct
resource
*
res
,
*
child_res
=
NULL
;
struct
resource
*
res
,
*
child_res
=
NULL
;
int
irq
;
int
irq
;
...
@@ -623,7 +625,7 @@ static int dwc3_qcom_acpi_register_core(struct platform_device *pdev)
...
@@ -623,7 +625,7 @@ static int dwc3_qcom_acpi_register_core(struct platform_device *pdev)
static
int
dwc3_qcom_of_register_core
(
struct
platform_device
*
pdev
)
static
int
dwc3_qcom_of_register_core
(
struct
platform_device
*
pdev
)
{
{
struct
dwc3_qcom
*
qcom
=
platform_get_drvdata
(
pdev
);
struct
dwc3_qcom
*
qcom
=
platform_get_drvdata
(
pdev
);
struct
device_node
*
np
=
pdev
->
dev
.
of_node
,
*
dwc3_np
;
struct
device_node
*
np
=
pdev
->
dev
.
of_node
,
*
dwc3_np
;
struct
device
*
dev
=
&
pdev
->
dev
;
struct
device
*
dev
=
&
pdev
->
dev
;
int
ret
;
int
ret
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment