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
4e54e9f4
Commit
4e54e9f4
authored
Aug 12, 2007
by
Len Brown
Browse files
Options
Browse Files
Download
Plain Diff
Pull sbs into release branch
parents
27196c30
bc90a010
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
drivers/acpi/sbs.c
drivers/acpi/sbs.c
+1
-5
No files found.
drivers/acpi/sbs.c
View file @
4e54e9f4
...
...
@@ -1415,7 +1415,7 @@ static int acpi_sbs_update_run(struct acpi_sbs *sbs, int id, int data_type)
char
dir_name
[
32
];
int
do_battery_init
=
0
,
do_ac_init
=
0
;
int
old_remaining_capacity
=
0
;
int
update_
ac
=
1
,
update_
battery
=
1
;
int
update_battery
=
1
;
int
up_tm
=
update_time
;
if
(
sbs_zombie
(
sbs
))
{
...
...
@@ -1435,10 +1435,6 @@ static int acpi_sbs_update_run(struct acpi_sbs *sbs, int id, int data_type)
sbs
->
run_cnt
++
;
if
(
!
update_ac
&&
!
update_battery
)
{
goto
end
;
}
old_ac_present
=
sbs
->
ac
.
ac_present
;
result
=
acpi_ac_get_present
(
sbs
);
...
...
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