]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commita376cd91606365609d8fbd57247618bd51da1fc6
tree7c971bf85097a6eded3af80e02cbab6a8160ad87
parent4398ef0ee62f3eb6d4b2f2acc69e098b3f4c3f81
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