hwmon/f71882fg: Set platform drvdata to NULL later
commit395f0b7ce1e83a3d9497c73fd71004611a77a03e
authorHans de Goede <hdegoede@redhat.com>
Sun, 13 Mar 2011 12:50:33 +0000 (13 13:50 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 30 Apr 2011 14:53:14 +0000 (30 16:53 +0200)
treee862ca2f24595b79e9f07384ddc6c0a8a40753d8
parentb4ca174c59cf2132dc51eb1e8c6e23f4156e02ca
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: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hwmon/f71882fg.c