DLKM: leds_aw99703: change backlight type to Platform

leds_aw99703:
Change backlight type to 99703 to avoid conflict with panel0-backlight.
NO_PROP_NEEDED: WLED IC for new product

Change-Id: Ibb824c08774c5aa60b10a318896d07fa7ce872d3
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1653746
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jing Hu <hujing3@lenovo.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
wangyq13 2020-07-01 11:14:59 +08:00 • committed by Yeqing Wang
commit 29cfda09a3

View file

@ -648,7 +648,7 @@ static int aw99703_probe(struct i2c_client *client,
#ifdef KERNEL_ABOVE_4_14
memset(&props, 0, sizeof(struct backlight_properties));
props.type = BACKLIGHT_RAW;
props.type = BACKLIGHT_PLATFORM;
props.brightness = MAX_BRIGHTNESS;
props.max_brightness = MAX_BRIGHTNESS;
bl_dev = backlight_device_register(AW99703_NAME, &client->dev,