mtd: use dev_add_param_string
dev_add_param_string allows to pass a priv * so that the device_d *
argument is not needed and can be removed later.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 8137126 commit aa340d3cf18c1dbf2b2f19d41e7436d97a62f517
@Sascha Hauer Sascha Hauer authored on 6 Apr 2017
Showing 2 changed files
View
drivers/mtd/core.c
View
include/linux/mtd/mtd.h