Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ath
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
qsdk
kvalo
ath
Commits
f96c3bbe
Commit
f96c3bbe
authored
19 years ago
by
Linus Torvalds
Browse files
Options
Downloads
Plain Diff
Merge master.kernel.org:/home/rmk/linux-2.6-ucb
parents
ec384d29
585f5457
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
drivers/mfd/ucb1x00-core.c
+11
-11
11 additions, 11 deletions
drivers/mfd/ucb1x00-core.c
with
11 additions
and
11 deletions
drivers/mfd/ucb1x00-core.c
+
11
−
11
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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment