]> git.baikalelectronics.ru Git - kernel.git/commit
platform/chrome: chromeos_laptop: make chromeos_laptop const
authorBhumika Goyal <bhumirks@gmail.com>
Sat, 5 Aug 2017 08:20:42 +0000 (13:50 +0530)
committerBenson Leung <bleung@chromium.org>
Sat, 16 Dec 2017 04:56:31 +0000 (20:56 -0800)
commit7fc093c276d8d932e70eaa207b58af3b3c06d267
tree7c971bf85097a6eded3af80e02cbab6a8160ad87
parent0e2bf6881db80ed1392c94637938c719932a135b
platform/chrome: chromeos_laptop: make chromeos_laptop const

Declare chromeos_laptop structures as const as they are only used during
a copy operation. As their value is never modified during runtime, they
can be made const.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Benson Leung <bleung@chromium.org>
drivers/platform/chrome/chromeos_laptop.c