Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
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
Commits
cccc67a4
Commit
cccc67a4
authored
Dec 30, 2009
by
Len Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'video-error-case' into release
parents
b943aa83
e01ce79b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
drivers/acpi/video.c
drivers/acpi/video.c
+3
-1
No files found.
drivers/acpi/video.c
View file @
cccc67a4
...
...
@@ -999,8 +999,10 @@ static void acpi_video_device_find_cap(struct acpi_video_device *device)
sprintf
(
name
,
"acpi_video%d"
,
count
++
);
device
->
backlight
=
backlight_device_register
(
name
,
NULL
,
device
,
&
acpi_backlight_ops
);
device
->
backlight
->
props
.
max_brightness
=
device
->
brightness
->
count
-
3
;
kfree
(
name
);
if
(
IS_ERR
(
device
->
backlight
))
return
;
device
->
backlight
->
props
.
max_brightness
=
device
->
brightness
->
count
-
3
;
result
=
sysfs_create_link
(
&
device
->
backlight
->
dev
.
kobj
,
&
device
->
dev
->
dev
.
kobj
,
"device"
);
...
...
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