]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit026fa8c94c961972dea303980e0ab79240069721
tree6bca99b50404e2dc059c9d933aa74bc2f3d5e14f
parent33c1fe6b9c6f6f1be86ecd398015e0a5edc94e55
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