OSDN Git Service

gpio: max3191x: Use bitmap_free() to free bitmap
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 26 Dec 2021 14:19:38 +0000 (15:19 +0100)
committerBartosz Golaszewski <brgl@bgdev.pl>
Mon, 3 Jan 2022 09:43:00 +0000 (10:43 +0100)
commit01d130a31adeeee09fb27294751e2adad2100c50
tree0f166d1e31566586cda51ca5d7fe63703f49b4a2
parentf21ecad451c9b33d56165da61b0f5a9a535bfd3c
gpio: max3191x: Use bitmap_free() to free bitmap

kfree() and bitmap_free() are the same. But using the later is more
consistent when freeing memory allocated with bitmap_alloc().

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
drivers/gpio/gpio-max3191x.c