mfd: cros_ec_spi: Repair comparison ordering issue
authorLee Jones <lee.jones@linaro.org>
Wed, 28 Oct 2015 16:42:45 +0000 (16:42 +0000)
committerLee Jones <lee.jones@linaro.org>
Thu, 14 Jan 2016 08:44:01 +0000 (08:44 +0000)
commit8827a642a4635d5e696037f9213cb1d015d4cec3
tree1b9ea0245a2cf737ef7ad6ae2fe27545e4d485dd
parent2756db6c63662a179d1a59be2c0fa260dbd1b2fc
mfd: cros_ec_spi: Repair comparison ordering issue

WARNING: Comparisons should place the constant on the right side of the test
+       BUG_ON(EC_MSG_PREAMBLE_COUNT > ec_dev->din_size);

WARNING: Comparisons should place the constant on the right side of the test
+       BUG_ON(EC_MSG_PREAMBLE_COUNT > ec_dev->din_size);

total: 0 errors, 2 warnings, 731 lines checked

Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/cros_ec_spi.c