]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
mtd: devices: use dev_get_platdata()
authorJingoo Han <jg1.han@samsung.com>
Tue, 30 Jul 2013 08:17:44 +0000 (17:17 +0900)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 30 Aug 2013 20:34:31 +0000 (21:34 +0100)
commit0278fd3fa34fb029e40224dd83d2628254f45481
treec1a9045ec8311957316125370499cf63cad26c28
parent07cc0fbadb8bfcbba57c9035beece608ceee0bd3
mtd: devices: use dev_get_platdata()

Use the wrapper function for retrieving the platform data instead of
accessing dev->platform_data directly.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/devices/m25p80.c
drivers/mtd/devices/mtd_dataflash.c
drivers/mtd/devices/sst25l.c