mfd: cros_ec: Use devm_kzalloc for private data
authorGwendal Grignou <gwendal@chromium.org>
Wed, 30 May 2018 16:54:22 +0000 (09:54 -0700)
committerLee Jones <lee.jones@linaro.org>
Mon, 4 Jun 2018 07:46:42 +0000 (08:46 +0100)
commit3aa2177e47878f7e7616da8a2050c44f22301b6e
treecfb9d39a9454516fd376b263629ad46b2164e0c6
parent4e93a658576ab115977225c9d0992b97ff19ba8c
mfd: cros_ec: Use devm_kzalloc for private data

Use dev_kzmalloc, remove .release entry point.

Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/cros_ec_dev.c