From: Lee Jones <lee.jones@linaro.org>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Arnd Bergmann <arnd@arndb.de>,
linux-kernel@vger.kernel.org,
Gwendal Grignou <gwendal@chromium.org>,
Benson Leung <bleung@chromium.org>
Subject: Re: [PATCH 2/2] Revert "mfd: cros_ec: Use devm_kzalloc for private data"
Date: Wed, 4 Jul 2018 08:00:08 +0100 [thread overview]
Message-ID: <20180704070008.GE20176@dell> (raw)
In-Reply-To: <20180620213033.100455-2-dmitry.torokhov@gmail.com>
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
next prev parent reply other threads:[~2018-07-04 7:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-20 21:30 [PATCH 1/2] Revert "mfd: cros_ec: Remove unused __remove function" Dmitry Torokhov
2018-06-20 21:30 ` [PATCH 2/2] Revert "mfd: cros_ec: Use devm_kzalloc for private data" Dmitry Torokhov
2018-07-04 7:00 ` Lee Jones [this message]
2018-07-04 6:48 ` [PATCH 1/2] Revert "mfd: cros_ec: Remove unused __remove function" Lee Jones
2018-07-04 15:16 ` Dmitry Torokhov
2018-07-04 16:11 ` Lee Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180704070008.GE20176@dell \
--to=lee.jones@linaro.org \
--cc=arnd@arndb.de \
--cc=bleung@chromium.org \
--cc=dmitry.torokhov@gmail.com \
--cc=gwendal@chromium.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.