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
2d0c6148
Commit
2d0c6148
authored
Jul 10, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spi/omap-100k: Convert to module_platform_driver()
Signed-off-by:
Mark Brown
<
broonie@linaro.org
>
parent
13cd19e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
13 deletions
+2
-13
drivers/spi/spi-omap-100k.c
drivers/spi/spi-omap-100k.c
+2
-13
No files found.
drivers/spi/spi-omap-100k.c
View file @
2d0c6148
...
@@ -495,22 +495,11 @@ static struct platform_driver omap1_spi100k_driver = {
...
@@ -495,22 +495,11 @@ static struct platform_driver omap1_spi100k_driver = {
.
name
=
"omap1_spi100k"
,
.
name
=
"omap1_spi100k"
,
.
owner
=
THIS_MODULE
,
.
owner
=
THIS_MODULE
,
},
},
.
probe
=
omap1_spi100k_probe
,
.
remove
=
omap1_spi100k_remove
,
.
remove
=
omap1_spi100k_remove
,
};
};
module_platform_driver
(
omap1_spi100k_driver
);
static
int
__init
omap1_spi100k_init
(
void
)
{
return
platform_driver_probe
(
&
omap1_spi100k_driver
,
omap1_spi100k_probe
);
}
static
void
__exit
omap1_spi100k_exit
(
void
)
{
platform_driver_unregister
(
&
omap1_spi100k_driver
);
}
module_init
(
omap1_spi100k_init
);
module_exit
(
omap1_spi100k_exit
);
MODULE_DESCRIPTION
(
"OMAP7xx SPI 100k controller driver"
);
MODULE_DESCRIPTION
(
"OMAP7xx SPI 100k controller driver"
);
MODULE_AUTHOR
(
"Fabrice Crohas <fcrohas@gmail.com>"
);
MODULE_AUTHOR
(
"Fabrice Crohas <fcrohas@gmail.com>"
);
...
...
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