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
3bde75b5
Commit
3bde75b5
authored
Nov 02, 2010
by
Uwe Kleine-König
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: imx/gpio: remove some useless casts
Signed-off-by:
Uwe Kleine-König
<
u.kleine-koenig@pengutronix.de
>
parent
9bb39b3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
arch/arm/plat-mxc/gpio.c
arch/arm/plat-mxc/gpio.c
+2
-2
No files found.
arch/arm/plat-mxc/gpio.c
View file @
3bde75b5
...
...
@@ -175,7 +175,7 @@ static void mxc_gpio_irq_handler(struct mxc_gpio_port *port, u32 irq_stat)
static
void
mx3_gpio_irq_handler
(
u32
irq
,
struct
irq_desc
*
desc
)
{
u32
irq_stat
;
struct
mxc_gpio_port
*
port
=
(
struct
mxc_gpio_port
*
)
get_irq_data
(
irq
);
struct
mxc_gpio_port
*
port
=
get_irq_data
(
irq
);
irq_stat
=
__raw_readl
(
port
->
base
+
GPIO_ISR
)
&
__raw_readl
(
port
->
base
+
GPIO_IMR
);
...
...
@@ -188,7 +188,7 @@ static void mx2_gpio_irq_handler(u32 irq, struct irq_desc *desc)
{
int
i
;
u32
irq_msk
,
irq_stat
;
struct
mxc_gpio_port
*
port
=
(
struct
mxc_gpio_port
*
)
get_irq_data
(
irq
);
struct
mxc_gpio_port
*
port
=
get_irq_data
(
irq
);
/* walk through all interrupt status registers */
for
(
i
=
0
;
i
<
gpio_table_size
;
i
++
)
{
...
...
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