Skip to content
Commit 560a64a2 authored by Roel Kluin's avatar Roel Kluin Committed by Linus Torvalds
Browse files

hwmon: fix freeing of gpio_data and irq



If already requested, gpio_data and irq should be freed in the case of an
error.

Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Acked-by: default avatarJonathan Cameron <jic23@cam.ac.uk>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 905ffdc3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment