mtd: nand: denali_dt: use pdev instead of ofdev for platform_device
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 30 Mar 2017 06:45:56 +0000 (15:45 +0900)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 25 Apr 2017 12:18:36 +0000 (14:18 +0200)
commit3f5c35819fc37d5f35680a55327c940b6e8fad41
tree6bca99b50404e2dc059c9d933aa74bc2f3d5e14f
parent60d920d32ca40660e382cf9ccbc236599a49e607
mtd: nand: denali_dt: use pdev instead of ofdev for platform_device

"pdev" is much more often used to point a platform_device, so this
will help the driver code look consistent across the kernel.

While we are here, fix "line over 80 characters" coding style
violations.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/denali_dt.c