platform: x86: remove unnecessary platform_set_drvdata()
commit18a0393543fa3b04278cce235d3d76a13c877b94
authorJingoo Han <jg1.han@samsung.com>
Thu, 22 Aug 2013 02:04:28 +0000 (22 11:04 +0900)
committerMatthew Garrett <matthew.garrett@nebula.com>
Thu, 5 Sep 2013 12:52:18 +0000 (5 08:52 -0400)
tree2e21759f2cd60e21e1bd7f89c26d85e193b977af
parent0be18a8e1133fc2cf668c90360fcd1a767f64faa
platform: x86: remove unnecessary platform_set_drvdata()

The driver core clears the driver data to NULL after device_release
or on probe failure. Thus, it is not needed to manually clear the
device driver data to NULL.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/compal-laptop.c
drivers/platform/x86/intel_mid_powerbtn.c
drivers/platform/x86/intel_mid_thermal.c