TTY: amiserial, remove unnecessary platform_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Thu, 22 Aug 2013 02:08:04 +0000 (11:08 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Aug 2013 23:24:33 +0000 (16:24 -0700)
commit1b2a405bbacc513627be875515bff4af5b498346
treef5a03efe53cd47cfd7e17dff2492f62ade2b33f3
parent46ddeff30e59749aecff9b1357855f7d7bfe74b8
TTY: amiserial, 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/tty/amiserial.c