]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon/f71882fg: Set platform drvdata to NULL later
authorHans de Goede <hdegoede@redhat.com>
Sun, 13 Mar 2011 12:50:33 +0000 (13:50 +0100)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 26 Jun 2011 16:47:00 +0000 (12:47 -0400)
commite9afcf1660fe705de7b60629639ec204852555f7
tree0e6f7721d4db2153657b66cf601fc96a77894e0b
parent98803ade6c57d2025c1eb85e8dbd436f0749e5ca
hwmon/f71882fg: Set platform drvdata to NULL later

commit d9ebaa45472c92704f4814682eec21455edcfa1f upstream.

This avoids a possible race leading to trying to dereference NULL.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/hwmon/f71882fg.c