Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci-2.6.23
Commits
27c7742e
Commit
27c7742e
authored
Jun 04, 2007
by
Wim Van Sebroeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[WATCHDOG] Mixcom Watchdog - clean-up printk's
Clean-up printk's. Signed-off-by:
Wim Van Sebroeck
<
wim@iguana.be
>
parent
1c067318
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
drivers/char/watchdog/mixcomwd.c
drivers/char/watchdog/mixcomwd.c
+9
-3
No files found.
drivers/char/watchdog/mixcomwd.c
View file @
27c7742e
...
...
@@ -287,13 +287,19 @@ static int __init mixcomwd_init(void)
ret
=
misc_register
(
&
mixcomwd_miscdev
);
if
(
ret
)
{
release_region
(
watchdog_port
,
1
);
return
ret
;
printk
(
KERN_ERR
PFX
"cannot register miscdev on minor=%d (err=%d)
\n
"
,
WATCHDOG_MINOR
,
ret
);
goto
error_misc_register_watchdog
;
}
printk
(
KERN_INFO
"MixCOM watchdog driver v%s, watchdog port at 0x%3x
\n
"
,
VERSION
,
watchdog_port
);
return
0
;
error_misc_register_watchdog:
release_region
(
watchdog_port
,
1
);
watchdog_port
=
0x0000
;
return
ret
;
}
static
void
__exit
mixcomwd_exit
(
void
)
...
...
@@ -306,8 +312,8 @@ static void __exit mixcomwd_exit(void)
mixcomwd_timer_alive
=
0
;
}
}
release_region
(
watchdog_port
,
1
);
misc_deregister
(
&
mixcomwd_miscdev
);
release_region
(
watchdog_port
,
1
);
}
module_init
(
mixcomwd_init
);
...
...
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