aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/algos
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2012-03-12 08:33:10 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-03-19 08:57:59 -0700
commit90b7d65c8cba8830ede8307a21a76c8757eefa3a (patch)
treeb6daaefa90a96211283e74a533acad23e4ee0f85 /drivers/i2c/algos
parentbaf9f08ae4a3e041e718b2e9843400faab15ccda (diff)
downloadkernel_samsung_smdk4412-90b7d65c8cba8830ede8307a21a76c8757eefa3a.zip
kernel_samsung_smdk4412-90b7d65c8cba8830ede8307a21a76c8757eefa3a.tar.gz
kernel_samsung_smdk4412-90b7d65c8cba8830ede8307a21a76c8757eefa3a.tar.bz2
hwmon: (w83627ehf) Fix memory leak in probe function
commit 32260d94408c553dca4ce54104edf79941a27536 upstream. The driver probe function leaked memory if creating the cpu0_vid attribute file failed. Fix by converting the driver to use devm_kzalloc. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/i2c/algos')
0 files changed, 0 insertions, 0 deletions