All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laxman Dewangan <ldewangan@nvidia.com>
To: wsa@the-dreams.de, corbet@lwn.net
Cc: bjorn.andersson@sonymobile.com, gregkh@linuxfoundation.org,
	linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-i2c@vger.kernel.org
Subject: Re: [PATCH V2 1/2] i2c: core: add devm apis for i2c_new_dummy and i2c_unregister
Date: Mon, 11 Apr 2016 21:34:29 +0530	[thread overview]
Message-ID: <570BCB0D.2090004@nvidia.com> (raw)
In-Reply-To: <1456753023-20559-1-git-send-email-ldewangan@nvidia.com>

Hi Wolfram,

On Monday 29 February 2016 07:07 PM, Laxman Dewangan wrote:
> Add resource managed version of i2c_new_dummy() and
> i2c_unregister_device().
>
> This helps in reducing the code size in error path and device
> remove callbacks and making proper sequence for deallocations.
>
> Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
>
> ---
> Changes from V1:
> - Got review comment on similar change for pinctrl and taken care of
>    the same on this patch as V1 has similar issue.
> - Add the new devm_ APIs in the Documentation/driver-model/devres.txt
> - Will push the change for using this new APIs later once this is
>    applied as most of consumer for these APIs are in other subsystem like
>    MFD/RTC.
>
Can you please review?

If required, I can resend the patch.

Thanks,
Laxman

WARNING: multiple messages have this Message-ID (diff)
From: Laxman Dewangan <ldewangan@nvidia.com>
To: <wsa@the-dreams.de>, <corbet@lwn.net>
Cc: <bjorn.andersson@sonymobile.com>, <gregkh@linuxfoundation.org>,
	<linux-doc@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<linux-i2c@vger.kernel.org>
Subject: Re: [PATCH V2 1/2] i2c: core: add devm apis for i2c_new_dummy and i2c_unregister
Date: Mon, 11 Apr 2016 21:34:29 +0530	[thread overview]
Message-ID: <570BCB0D.2090004@nvidia.com> (raw)
In-Reply-To: <1456753023-20559-1-git-send-email-ldewangan@nvidia.com>

Hi Wolfram,

On Monday 29 February 2016 07:07 PM, Laxman Dewangan wrote:
> Add resource managed version of i2c_new_dummy() and
> i2c_unregister_device().
>
> This helps in reducing the code size in error path and device
> remove callbacks and making proper sequence for deallocations.
>
> Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
>
> ---
> Changes from V1:
> - Got review comment on similar change for pinctrl and taken care of
>    the same on this patch as V1 has similar issue.
> - Add the new devm_ APIs in the Documentation/driver-model/devres.txt
> - Will push the change for using this new APIs later once this is
>    applied as most of consumer for these APIs are in other subsystem like
>    MFD/RTC.
>
Can you please review?

If required, I can resend the patch.

Thanks,
Laxman

  parent reply	other threads:[~2016-04-11 16:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-29 13:37 [PATCH V2 1/2] i2c: core: add devm apis for i2c_new_dummy and i2c_unregister Laxman Dewangan
2016-02-29 13:37 ` Laxman Dewangan
2016-02-29 13:37 ` [PATCH V2 2/2] i2c: Add resource managed version of i2c_{new_dummy, unregister_device} Laxman Dewangan
2016-02-29 13:37   ` Laxman Dewangan
2016-04-11 16:04 ` Laxman Dewangan [this message]
2016-04-11 16:04   ` [PATCH V2 1/2] i2c: core: add devm apis for i2c_new_dummy and i2c_unregister Laxman Dewangan

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=570BCB0D.2090004@nvidia.com \
    --to=ldewangan@nvidia.com \
    --cc=bjorn.andersson@sonymobile.com \
    --cc=corbet@lwn.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wsa@the-dreams.de \
    /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.