summaryrefslogtreecommitdiffstats
path: root/drivers/char/virtio_console.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2011-12-30 13:31:57 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-01-09 19:26:10 +0100
commitcd621274b0ec747db8dedbf857624c067f481976 (patch)
tree1d86dd22d4133fc45311168d1b012e8103b4f875 /drivers/char/virtio_console.c
parentmtd: do use mtd->point directly (diff)
downloadlinux-cd621274b0ec747db8dedbf857624c067f481976.tar.xz
linux-cd621274b0ec747db8dedbf857624c067f481976.zip
mtd: do not use mtd->get_unmapped_area directly
Remove direct usage of mtd->get_unmapped_area. Instead, just call 'mtd_get_unmapped_area()' which will return -EOPNOTSUPP if the function is not implemented and test for this error code. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/char/virtio_console.c')
0 files changed, 0 insertions, 0 deletions