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
f96c3bbe
Commit
f96c3bbe
authored
Oct 10, 2005
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge master.kernel.org:/home/rmk/linux-2.6-ucb
parents
ec384d29
585f5457
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
drivers/mfd/ucb1x00-core.c
drivers/mfd/ucb1x00-core.c
+11
-11
No files found.
drivers/mfd/ucb1x00-core.c
View file @
f96c3bbe
...
...
@@ -457,6 +457,17 @@ static int ucb1x00_detect_irq(struct ucb1x00 *ucb)
return
probe_irq_off
(
mask
);
}
static
void
ucb1x00_release
(
struct
class_device
*
dev
)
{
struct
ucb1x00
*
ucb
=
classdev_to_ucb1x00
(
dev
);
kfree
(
ucb
);
}
static
struct
class
ucb1x00_class
=
{
.
name
=
"ucb1x00"
,
.
release
=
ucb1x00_release
,
};
static
int
ucb1x00_probe
(
struct
mcp
*
mcp
)
{
struct
ucb1x00
*
ucb
;
...
...
@@ -546,17 +557,6 @@ static void ucb1x00_remove(struct mcp *mcp)
class_device_unregister
(
&
ucb
->
cdev
);
}
static
void
ucb1x00_release
(
struct
class_device
*
dev
)
{
struct
ucb1x00
*
ucb
=
classdev_to_ucb1x00
(
dev
);
kfree
(
ucb
);
}
static
struct
class
ucb1x00_class
=
{
.
name
=
"ucb1x00"
,
.
release
=
ucb1x00_release
,
};
int
ucb1x00_register_driver
(
struct
ucb1x00_driver
*
drv
)
{
struct
ucb1x00
*
ucb
;
...
...
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