Commit 0f5de2f
power: supply: ab8500_fg: add missing destroy_workqueue in ab8500_fg_probe
In ab8500_fg_probe, misses destroy_workqueue in error path, this patch
fixes that.
Fixes: 010ddb8 ("power: supply: ab8500_fg: Allocate wq in probe")
Signed-off-by: Gao Chao <gaochao49@huawei.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>1 parent f2906aa commit 0f5de2f
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3148 | 3148 | | |
3149 | 3149 | | |
3150 | 3150 | | |
| 3151 | + | |
3151 | 3152 | | |
3152 | 3153 | | |
3153 | 3154 | | |
| |||
3159 | 3160 | | |
3160 | 3161 | | |
3161 | 3162 | | |
| 3163 | + | |
3162 | 3164 | | |
3163 | 3165 | | |
3164 | 3166 | | |
| |||
3174 | 3176 | | |
3175 | 3177 | | |
3176 | 3178 | | |
3177 | | - | |
| 3179 | + | |
| 3180 | + | |
3178 | 3181 | | |
| 3182 | + | |
3179 | 3183 | | |
3180 | 3184 | | |
3181 | 3185 | | |
| |||
3185 | 3189 | | |
3186 | 3190 | | |
3187 | 3191 | | |
| 3192 | + | |
3188 | 3193 | | |
3189 | 3194 | | |
3190 | 3195 | | |
| |||
3200 | 3205 | | |
3201 | 3206 | | |
3202 | 3207 | | |
| 3208 | + | |
3203 | 3209 | | |
3204 | 3210 | | |
3205 | 3211 | | |
3206 | 3212 | | |
3207 | 3213 | | |
3208 | 3214 | | |
3209 | 3215 | | |
| 3216 | + | |
3210 | 3217 | | |
3211 | 3218 | | |
3212 | 3219 | | |
| |||
0 commit comments