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
01e2dae9
Commit
01e2dae9
authored
Aug 31, 2015
by
Linus Walleij
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "gpio: extraxfs: fix returnvar.cocci warnings"
This reverts commit
5e22ec01
.
parent
0c9fc10d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
drivers/gpio/gpio-etraxfs.c
drivers/gpio/gpio-etraxfs.c
+2
-1
No files found.
drivers/gpio/gpio-etraxfs.c
View file @
01e2dae9
...
...
@@ -292,6 +292,7 @@ static int etraxfs_gpio_irq_request_resources(struct irq_data *d)
struct
etraxfs_gpio_chip
*
chip
=
irq_data_get_irq_chip_data
(
d
);
struct
etraxfs_gpio_block
*
block
=
chip
->
block
;
unsigned
int
grpirq
=
etraxfs_gpio_to_group_irq
(
d
->
hwirq
);
int
ret
=
-
EBUSY
;
spin_lock
(
&
block
->
lock
);
if
(
block
->
group
[
grpirq
])
...
...
@@ -313,7 +314,7 @@ static int etraxfs_gpio_irq_request_resources(struct irq_data *d)
out:
spin_unlock
(
&
block
->
lock
);
return
-
EBUSY
;
return
ret
;
}
static
void
etraxfs_gpio_irq_release_resources
(
struct
irq_data
*
d
)
...
...
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