]> 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)
commite4f0bad69438e2bec2c3ee8d1465a4cdf5f3272c
tree7c971bf85097a6eded3af80e02cbab6a8160ad87
parent61419d1ec7be484eb7a66b09cb92cf988a312045
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