mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
drivers/video/backlight/adp8860_bl.c: remove a redundant assignment for max_brightness
We have set props.max_brightness before registering backlight device. Signed-off-by: Axel Lin <[email protected]> Acked-by: Mike Frysinger <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
e2e7da9bcc
commit
6b19bad8b2
1 changed files with 1 additions and 2 deletions
|
|
@ -722,8 +722,7 @@ static int __devinit adp8860_probe(struct i2c_client *client,
|
|||
goto out2;
|
||||
}
|
||||
|
||||
bl->props.max_brightness =
|
||||
bl->props.brightness = ADP8860_MAX_BRIGHTNESS;
|
||||
bl->props.brightness = ADP8860_MAX_BRIGHTNESS;
|
||||
|
||||
data->bl = bl;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue