Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1376146 > unrolled thread

Re: [PATCH V2 1/2] i2c: core: add devm apis for i2c_new_dummy and i2c_unregister

Started byLaxman Dewangan <ldewangan@nvidia.com>
First post2016-04-11 18:20 +0200
Last post2016-04-11 18:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH V2 1/2] i2c: core: add devm apis for i2c_new_dummy and  i2c_unregister Laxman Dewangan <ldewangan@nvidia.com> - 2016-04-11 18:20 +0200

#1376146 — Re: [PATCH V2 1/2] i2c: core: add devm apis for i2c_new_dummy and i2c_unregister

FromLaxman Dewangan <ldewangan@nvidia.com>
Date2016-04-11 18:20 +0200
SubjectRe: [PATCH V2 1/2] i2c: core: add devm apis for i2c_new_dummy and i2c_unregister
Message-ID<rmMJc-gC-13@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web