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
nexedi
linux
Commits
368ce0bc
Commit
368ce0bc
authored
Sep 01, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'spi/topic/sh-msiof' into spi-next
parents
874915ed
33bf2c0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
18 deletions
+0
-18
drivers/spi/spi-sh-msiof.c
drivers/spi/spi-sh-msiof.c
+0
-18
No files found.
drivers/spi/spi-sh-msiof.c
View file @
368ce0bc
...
...
@@ -745,18 +745,6 @@ static int sh_msiof_spi_remove(struct platform_device *pdev)
return
ret
;
}
static
int
sh_msiof_spi_runtime_nop
(
struct
device
*
dev
)
{
/* Runtime PM callback shared between ->runtime_suspend()
* and ->runtime_resume(). Simply returns success.
*
* This driver re-initializes all registers after
* pm_runtime_get_sync() anyway so there is no need
* to save and restore registers here.
*/
return
0
;
}
#ifdef CONFIG_OF
static
const
struct
of_device_id
sh_msiof_match
[]
=
{
{
.
compatible
=
"renesas,sh-msiof"
,
},
...
...
@@ -766,18 +754,12 @@ static const struct of_device_id sh_msiof_match[] = {
MODULE_DEVICE_TABLE
(
of
,
sh_msiof_match
);
#endif
static
struct
dev_pm_ops
sh_msiof_spi_dev_pm_ops
=
{
.
runtime_suspend
=
sh_msiof_spi_runtime_nop
,
.
runtime_resume
=
sh_msiof_spi_runtime_nop
,
};
static
struct
platform_driver
sh_msiof_spi_drv
=
{
.
probe
=
sh_msiof_spi_probe
,
.
remove
=
sh_msiof_spi_remove
,
.
driver
=
{
.
name
=
"spi_sh_msiof"
,
.
owner
=
THIS_MODULE
,
.
pm
=
&
sh_msiof_spi_dev_pm_ops
,
.
of_match_table
=
of_match_ptr
(
sh_msiof_match
),
},
};
...
...
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