uio: uio_pruss: remove unnecessary platform_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Thu, 22 Aug 2013 02:09:12 +0000 (11:09 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Aug 2013 04:39:16 +0000 (21:39 -0700)
commit440ab3b3039834508250975d07d52d41883cf520
treea6450c29b0c0e1cbb61667d83016f92e4aaef2c0
parentc06ca9ae8445fbda04f2d8b55863c84e43acde31
uio: uio_pruss: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/uio/uio_pruss.c