]> Git Repo - linux.git/commit
gpiolib: Fix the error path order in gpiochip_add_data_with_key()
authorAndy Shevchenko <[email protected]>
Wed, 21 Feb 2024 19:28:46 +0000 (21:28 +0200)
committerBartosz Golaszewski <[email protected]>
Fri, 1 Mar 2024 07:36:53 +0000 (08:36 +0100)
commite4aec4daa8c009057b5e063db1b7322252c92dc8
tree4e165ace8490d14ecb1577bd9e605013af644e22
parent530b1dbd97846b110ea8a94c7cc903eca21786e5
gpiolib: Fix the error path order in gpiochip_add_data_with_key()

After shuffling the code, error path wasn't updated correctly.
Fix it here.

Fixes: 2f4133bb5f14 ("gpiolib: No need to call gpiochip_remove_pin_ranges() twice")
Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
drivers/gpio/gpiolib.c
This page took 0.048751 seconds and 4 git commands to generate.