[lkml]   [2020]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 7/7] gpio: exar: use devm action for freeing the IDA and drop remove()
On Mon, Oct 26, 2020 at 4:22 PM Bartosz Golaszewski <> wrote:
> From: Bartosz Golaszewski <>
> We can simplify the error path in probe() and drop remove() entirely if
> we provide a devm action for freeing the device ID.

Always the same question to IDR/IDA users:
does it guarantee that when the driver is gone the IDR/IDA resources are freed?

(It's not directly related to this patch, though)

With Best Regards,
Andy Shevchenko

 \ /
  Last update: 2020-10-26 16:04    [W:0.144 / U:1.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site