hwrng: tx4939 - remove unnecessary platform_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Mon, 6 May 2013 04:40:21 +0000 (13:40 +0900)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 24 May 2013 09:55:29 +0000 (17:55 +0800)
commit1ef997dca4ebeaca56783430de848a8d207ec879
treeaaf5229adc85553ebdf703b7b174a766a4d5ba7e
parent08d63a22ced6e410dfceaa3792b79f1e01d594c7
hwrng: tx4939 - remove unnecessary platform_set_drvdata()

The driver core clears the driver data to NULL after device_release
or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d
(device-core: Ensure drvdata = NULL when no driver is bound).
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: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/tx4939-rng.c