diff options
author | Nishka Dasgupta <nishkadg.linux@gmail.com> | 2019-08-13 14:28:55 +0530 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2019-10-02 14:19:00 +0100 |
commit | 7050a7c3747787c3f9ba94df59eb7e9e018bbdf2 (patch) | |
tree | 3357397914c76b0ddd683b4bc2d6787681b7bf2a /Documentation/devicetree/bindings | |
parent | 8ad003e7348ecd59f457de9bbf06b30535d734f0 (diff) | |
download | linux-7050a7c3747787c3f9ba94df59eb7e9e018bbdf2.tar.gz linux-7050a7c3747787c3f9ba94df59eb7e9e018bbdf2.tar.bz2 linux-7050a7c3747787c3f9ba94df59eb7e9e018bbdf2.zip |
backlight: ipaq_micro: Make structure micro_bl_props constant
Static structure micro_bl_props, having type backlight_properties, is
used only once, when it is passed as the last argument to function
devm_backlight_device_register(). devm_backlight_device_register() is
defined with its last parameter being declared constant. Hence make
micro_bl_props itself constant as well.
Issue found with Coccinelle.
Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings')
0 files changed, 0 insertions, 0 deletions