Messages in this thread | | | Date | Wed, 4 Jul 2018 08:00:08 +0100 | From | Lee Jones <> | Subject | Re: [PATCH 2/2] Revert "mfd: cros_ec: Use devm_kzalloc for private data" |
| |
On Wed, 20 Jun 2018, Dmitry Torokhov wrote:
> This reverts commit 3aa2177e47878f7e7616da8a2050c44f22301b6e. > > Linux device objects are refcounted and thus should not be allocated > with devm API as they may outlive the timeframe of another device being > bound to a driver. > --- > drivers/mfd/cros_ec_dev.c | 10 ++++++++-- > 1 file changed, 8 insertions(+), 2 deletions(-)
For my own reference: Acked-for-MFD-by: Lee Jones <lee.jones@linaro.org>
-- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog
| |