Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 61988097 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "leds: leds-qpnp: remove the usage of mutex_destroy for static mutex"

parents da78a4c4 c8fccd2e
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -3907,8 +3907,6 @@ static int qpnp_leds_remove(struct spmi_device *spmi)
		if (led_array[i].id != QPNP_ID_FLASH1_LED0 &&
				led_array[i].id != QPNP_ID_FLASH1_LED1)
			mutex_destroy(&led_array[i].lock);
		else if (led_array[i].id == QPNP_ID_FLASH1_LED0)
			mutex_destroy(&flash_lock);

		led_classdev_unregister(&led_array[i].cdev);
		switch (led_array[i].id) {