diff options
-rw-r--r-- | drivers/staging/greybus/arche-platform.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/greybus/arche-platform.c b/drivers/staging/greybus/arche-platform.c index 34307ac3f255..d33d6fe078ad 100644 --- a/drivers/staging/greybus/arche-platform.c +++ b/drivers/staging/greybus/arche-platform.c | |||
@@ -186,6 +186,7 @@ int arche_platform_change_state(enum arche_platform_state state, | |||
186 | exit: | 186 | exit: |
187 | spin_unlock_irqrestore(&arche_pdata->wake_lock, flags); | 187 | spin_unlock_irqrestore(&arche_pdata->wake_lock, flags); |
188 | mutex_unlock(&arche_pdata->platform_state_mutex); | 188 | mutex_unlock(&arche_pdata->platform_state_mutex); |
189 | put_device(&pdev->dev); | ||
189 | of_node_put(np); | 190 | of_node_put(np); |
190 | return ret; | 191 | return ret; |
191 | } | 192 | } |