Skip to content
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment