mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
backlight: lp855x: convert a type of device name
Configurable data, backlight device name is set to constant character type. Signed-off-by: Milo(Woogyom) Kim <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
eb39ad2558
commit
600ffd33d0
2 changed files with 2 additions and 2 deletions
|
|
@ -273,7 +273,7 @@ static int lp855x_backlight_register(struct lp855x *lp)
|
|||
struct backlight_device *bl;
|
||||
struct backlight_properties props;
|
||||
struct lp855x_platform_data *pdata = lp->pdata;
|
||||
char *name = pdata->name ? : DEFAULT_BL_NAME;
|
||||
const char *name = pdata->name ? : DEFAULT_BL_NAME;
|
||||
|
||||
props.type = BACKLIGHT_PLATFORM;
|
||||
props.max_brightness = MAX_BRIGHTNESS;
|
||||
|
|
|
|||
Loading…
Reference in a new issue