cros_ec: Fix uninitialised variable in cros_ec.c
authorSimon Glass <sjg@chromium.org>
Wed, 12 Nov 2014 01:06:30 +0000 (18:06 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 22 Nov 2014 09:16:48 +0000 (10:16 +0100)
commitd11e8fd86e0fe883cdc00e040bb9e1a67573cf4e
tree3f60fc3180418f04f50a9b8d2f4fef9e86987cfc
parent6b18656aff0a1aec15528c47cc6108b44b559f7c
cros_ec: Fix uninitialised variable in cros_ec.c

This fixes this cppcheck report:

[drivers/misc/cros_ec.c:704]: (error) Uninitialized variable: req

Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Wolfgang Denk <wd@denx.de>
drivers/misc/cros_ec.c