Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1610090
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/2] sysfs: add devm_sysfs_create_group() and friends |
| Date | 2017-03-27 21:40 +0200 |
| Message-ID | <tpIEG-4B0-19@gated-at.bofh.it> (permalink) |
| References | <tacQp-4I2-5@gated-at.bofh.it> <tacQq-4I2-11@gated-at.bofh.it> <tpH5U-3my-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Mar 27, 2017 at 10:53:59AM -0700, Dmitry Torokhov wrote: > On Sun, Feb 12, 2017 at 04:36:19PM -0800, Dmitry Torokhov wrote: > > Many drivers create additional driver-specific device attributes when > > binding to the device and providing managed version of sysfs_create_group() > > will simplify unbinding and error handling in probe path for such drivers. > > > > Without managed version driver writers either have to mix manual and > > managed resources, which is prone to errors, or open-code this function by > > providing a wrapper to sysfs_create_group() and use it with > > devm_add_action() or devm_add_action_or_reset(). > > > > Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> > > --- > > Greg, gentle ping... It's not lost, it's in my queue... thanks, greg k-h
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [PATCH 2/2] sysfs: add devm_sysfs_create_group() and friends Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-03-27 20:00 +0200 Re: [PATCH 2/2] sysfs: add devm_sysfs_create_group() and friends Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-03-27 21:40 +0200
csiph-web