leds: PCA9956B: Cleanup in probe failure case
Cleanup in probe failure case
- Unlock the mutex in write_reg failure condition.
- Destroy mutex
- free dev memory
Change-Id: If4f827d613c5c014dc5e09a1361e64d28769884c
Signed-off-by:
Prashanth Vadde <pvadde@codeaurora.org>
Loading
Please register or sign in to comment