cros_ec: Reinit the cros_ec device when 'crosec init' is used
authorSimon Glass <sjg@chromium.org>
Thu, 26 Mar 2015 15:29:31 +0000 (09:29 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 17:11:15 +0000 (11:11 -0600)
commite96fc7dfc835b282521c2a661a479f0563c653b5
treee968d30d3908021b81f1675ab98afe6a1c803f05
parent72a38e06a20129209eaa0e5211cbf50b192de688
cros_ec: Reinit the cros_ec device when 'crosec init' is used

This command is supposed to reinit the device. At present with driver
model is does nothing. Implement this feature.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/misc/cros_ec.c