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)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Sun, 13 Mar 2011 14:42:52 +0000 (07:42 -0700)
commitd9ebaa45472c92704f4814682eec21455edcfa1f
tree83c54fcd7644b73db73bd2f40c211cabd1a2e7fc
parent14a4019de88111d26ba444495fd14833ddb2d65e
hwmon/f71882fg: Set platform drvdata to NULL later

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>
Cc: stable@kernel.org
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/f71882fg.c