Jingoo Han 696faedd61 serial: use platform_{get,set}_drvdata()
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_{get,set}_drvdata() with &pdev->dev,
so we can directly pass a struct platform_device.

Also, unnecessary dev_set_drvdata() is removed, because the driver core
clears the driver data to NULL after device_release or on probe failure.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-06-03 10:21:33 -07:00
..
2013-03-18 16:19:45 -07:00
2013-05-27 10:57:53 +09:00
2013-03-18 16:24:29 -07:00
2013-01-15 22:30:15 -08:00
2013-02-06 11:10:17 -08:00
2013-03-18 16:24:29 -07:00
2012-08-10 12:55:47 -07:00
2013-05-27 10:57:53 +09:00
2013-03-18 16:24:29 -07:00
2013-05-01 07:32:21 -07:00
2013-05-20 12:15:59 -07:00