mtd: kill dev_to_mtd helper
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Thu, 29 Dec 2011 16:00:29 +0000 (18:00 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 9 Jan 2012 18:25:57 +0000 (18:25 +0000)
commitd5de20a9a1c5ad68c07e017d11f6dbb5e289750c
treedd6b80205261e84e2043f169b199081208bfe47d
parent30fa98480b782999248ce8290136aa58f22536cf
mtd: kill dev_to_mtd helper

... since it is not needed because the generic 'dev_get_drvdata()' can be
used instead.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/mtdcore.c
include/linux/mtd/mtd.h