]> 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)
commit2458c494fc69a336d82ff6e70ea98b75d47d3e6d
treeefcc5bd9fcf96d0d99705cb72f71bd5451dbc7fe
parent23acbe6adfc22df6eedfea082ac4ed5cf4d73272
Revert "platform/chrome: chromeos_laptop: make chromeos_laptop const"

This reverts commit e4f0bad69438e2bec2c3ee8d1465a4cdf5f3272c 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