summaryrefslogtreecommitdiff
path: root/drivers/mfd/cros_ec_i2c.c
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2014-06-18 11:13:59 -0700
committerLee Jones <lee.jones@linaro.org>2014-07-09 14:58:15 +0100
commit2ce701ae4e351d9407ec0b30f5f9dd56b6de4292 (patch)
treee753855f8099d698bbce863eba50359882c306b9 /drivers/mfd/cros_ec_i2c.c
parentee98662ec914a23ab826b0c83797aa9414f737bc (diff)
mfd: cros_ec: Allow static din/dout buffers with cros_ec_register()
The lower-level driver may want to provide its own buffers. If so, there's no need to allocate new ones. This already happens to work just fine (since we check for size of 0 and use devm allocation), but it's good to document it. [dianders: Resolved conflicts; documented that no code changes needed on mainline] Signed-off-by: Bill Richardson <wfrichar@chromium.org> Signed-off-by: Doug Anderson <dianders@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/cros_ec_i2c.c')
0 files changed, 0 insertions, 0 deletions