]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "platform/chrome: chromeos_laptop: make chromeos_laptop const"
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 6 Mar 2018 18:59:15 +0000 (10:59 -0800)
committerBenson Leung <bleung@chromium.org>
Thu, 8 Mar 2018 05:18:04 +0000 (21:18 -0800)
commit5fdba68391e8c1c504d0c04b1b3c88ee75995ee1
treeefcc5bd9fcf96d0d99705cb72f71bd5451dbc7fe
parent4b7f3cda724036ce118b56470a2e8d51c57d3136
Revert "platform/chrome: chromeos_laptop: make chromeos_laptop const"

This reverts commit 7fc093c276d8d932e70eaa207b58af3b3c06d267 because
chromeos_laptop instances should not be marked as "const" (at this
time), since i2c_peripheral is being modified (we change "state" and
"tries") when we instantiate devices.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Benson Leung <bleung@chromium.org>
drivers/platform/chrome/chromeos_laptop.c