Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1431500
| From | Nishanth Menon <nm@ti.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 1/5] hwmon: (tmp102) Use devm_add_action to register cleanup function |
| Date | 2016-06-26 15:40 +0200 |
| Message-ID | <rOis1-3vu-5@gated-at.bofh.it> (permalink) |
| References | <rO8j0-5rJ-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 06/25/2016 09:40 PM, Guenter Roeck wrote: > By registering a cleanup function with devm_add_action(), we can > simplify the error path in the probe function and drop the remove > function entirely. > > Signed-off-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Nishanth Menon <nm@ti.com> -- Regards, Nishanth Menon
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v2 1/5] hwmon: (tmp102) Use devm_add_action to register cleanup function Guenter Roeck <linux@roeck-us.net> - 2016-06-26 04:50 +0200 Re: [PATCH v2 1/5] hwmon: (tmp102) Use devm_add_action to register cleanup function Nishanth Menon <nm@ti.com> - 2016-06-26 15:40 +0200
csiph-web