]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] I2C hwmon: kfree fixes
authorMark M. Hoffman <mhoffman@lightlink.com>
Sat, 27 Aug 2005 01:34:08 +0000 (18:34 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 27 Aug 2005 02:37:12 +0000 (19:37 -0700)
commitbebf4688e9dbbfdd421736685d607bced91a3c91
treeb88e2d0d55bbc9788337c256dfd25b54d684e49e
parent32818c2eb6b83ea5065c89e0c3cf774abc4dc02b
[PATCH] I2C hwmon: kfree fixes

This patch fixes several instances of hwmon drivers kfree'ing the "wrong"
pointer; the existing code works somewhat by accident.

(akpm: plucked from Greg's queue based on lkml discussion.  Finishes off the
patch from Jon Corbet)

Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/hwmon/adm1026.c
drivers/hwmon/adm1031.c