Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1183485
| From | Oliver Neukum <oneukum@suse.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] power: Destroy IDRs on module exit |
| Date | 2015-07-14 11:20 +0200 |
| Message-ID | <pM4xA-lo-9@gated-at.bofh.it> (permalink) |
| References | <pM4xA-lo-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, 2015-07-14 at 11:16 +0200, Johannes Thumshirn wrote: > Destroy IDRs on module exit, freeing the resources for > * bq2415x_charger.c > * ds2782_battery.c > * ltc2941-battery-gauge.c > > The drivers had to be converted to "ordinary" > module_init()/module_exit() > style drivers instead of using module_i2c_driver. That is a drawback. How about adding a pointer to the idr to "struct i2c_driver" and destroy it in generic code? Regards Oliver -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH] power: Destroy IDRs on module exit Oliver Neukum <oneukum@suse.com> - 2015-07-14 11:20 +0200
csiph-web