]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Tue, 14 May 2013 06:55:00 +0000 (14:55 +0800)
commit8dd606e781f8187fc49c2ebd5a4214c28175d392
treefe47ce984713df392ddab27ba5bac7bb1c760f8d
parent44f6dbf0ee869a581fac49a49f204593a94030ae
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