]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: uio_dmem_genirq: use dev_get_platdata()
authorJingoo Han <jg1.han@samsung.com>
Fri, 30 Aug 2013 04:11:56 +0000 (13:11 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 30 Aug 2013 19:10:53 +0000 (12:10 -0700)
commitf50d9dcc40ebeccecebe343f4af2ca6c80a056ae
tree379088a2ecec17c8fb67dc57639f54abca63fa9e
parentd2551d61f8801b8f8c3778b3ee0ac74ae6c78f60
drivers: uio_dmem_genirq: use dev_get_platdata()

Use the wrapper function for retrieving the platform data instead of
accessing dev->platform_data directly. This is a cosmetic change
to make the code simpler and enhance the readability.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/uio/uio_dmem_genirq.c