Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

video: backlight: da9052: Constify platform_device_id

The platform_device_id is not modified by the driver and core uses it as
const.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Krzysztof Kozlowski and committed by
Lee Jones
dba5ff95 4d866723

+1 -1
+1 -1
drivers/video/backlight/da9052_bl.c
··· 152 152 return 0; 153 153 } 154 154 155 - static struct platform_device_id da9052_wled_ids[] = { 155 + static const struct platform_device_id da9052_wled_ids[] = { 156 156 { 157 157 .name = "da9052-wled1", 158 158 .driver_data = DA9052_TYPE_WLED1,