Commit 5300ebb6 authored by Bartosz Golaszewski's avatar Bartosz Golaszewski
Browse files

gpio: exar: use devm action for freeing the IDA and drop remove()



We can simplify the error path in probe() and drop remove() entirely if
we provide a devm action for freeing the device ID.

Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent 36fb7218
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment