of: partitions: pass struct cdev as argument
pass a struct cdev instead of the cdev name to of_parse_partitions.
This is available to the caller anyway and makes it easier to use
additional stuff from the cdev (like knowing whether it's a mtd
device).

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 812dc94 commit 66cd90abe728418afdd01c52502781021748e3e6
@Sascha Hauer Sascha Hauer authored on 22 Apr 2013
Showing 2 changed files
View
drivers/of/partition.c
View
include/of.h