summaryrefslogtreecommitdiff
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-09-30 18:32:07 +0200
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-10-02 16:32:46 +0200
commit22dec5aa596ef805cccbcd3fbe5ebffbcb4fa559 (patch)
treecd6f384b08f42237c0833c49d9c6505e5278d7d8 /drivers/gpio/Kconfig
parent700cdf7ed00f0cf20fdcef33d56e862768eb1008 (diff)
downloadlwn-22dec5aa596ef805cccbcd3fbe5ebffbcb4fa559.tar.gz
lwn-22dec5aa596ef805cccbcd3fbe5ebffbcb4fa559.zip
gpio: aggregator: simplify aggr_parse() with scoped bitmap
The bitmap allocated in aggr_parse() is always freed before the function returns so use __free(bitmap) to simplify it and drop the goto label. Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20240930163207.80276-1-brgl@bgdev.pl Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
0 files changed, 0 insertions, 0 deletions