commit | 3b33ca41227a54a78446fb0d7a6fdb9862f563db | [log] [tgz] |
---|---|---|
author | Guenter Roeck <guenter.roeck@ericsson.com> | Thu Jun 30 02:30:03 2011 -0700 |
committer | Guenter Roeck <guenter.roeck@ericsson.com> | Fri Jul 01 15:56:06 2011 -0700 |
tree | de8d5bf8012abb3d01962fcc7ab6c9226183ac93 | |
parent | 7f2c0662e5cfd05f12ca49109e8f787bf2d87b66 [diff] |
hwmon: (adm1275) Free allocated memory if probe function fails Probe function did not free allocated memory if it failed. Fix it. Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com> Reviewed-by: Robert Coulson <robert.coulson@ericsson.com>