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
23e0ad77
Commit
23e0ad77
authored
Oct 25, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'spi/topic/efm32' into spi-next
parents
a59ca977
6a009e8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
drivers/spi/spi-efm32.c
drivers/spi/spi-efm32.c
+1
-7
No files found.
drivers/spi/spi-efm32.c
View file @
23e0ad77
...
...
@@ -280,10 +280,6 @@ static irqreturn_t efm32_spi_txirq(int irq, void *data)
return
IRQ_HANDLED
;
}
static
const
struct
efm32_spi_pdata
efm32_spi_pdata_default
=
{
.
location
=
1
,
};
static
u32
efm32_spi_get_configured_location
(
struct
efm32_spi_ddata
*
ddata
)
{
u32
reg
=
efm32_spi_read32
(
ddata
,
REG_ROUTE
);
...
...
@@ -387,7 +383,7 @@ static int efm32_spi_probe(struct platform_device *pdev)
goto
err
;
}
if
(
resource_size
(
res
)
<
60
)
{
if
(
resource_size
(
res
)
<
0x
60
)
{
ret
=
-
EINVAL
;
dev_err
(
&
pdev
->
dev
,
"memory resource too small
\n
"
);
goto
err
;
...
...
@@ -467,7 +463,6 @@ static int efm32_spi_probe(struct platform_device *pdev)
clk_disable_unprepare
(
ddata
->
clk
);
err:
spi_master_put
(
master
);
kfree
(
master
);
}
return
ret
;
...
...
@@ -486,7 +481,6 @@ static int efm32_spi_remove(struct platform_device *pdev)
free_irq
(
ddata
->
rxirq
,
ddata
);
clk_disable_unprepare
(
ddata
->
clk
);
spi_master_put
(
master
);
kfree
(
master
);
return
0
;
}
...
...
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