dm: drop unused helper in MTD header
authorMiquel Raynal <miquel.raynal@bootlin.com>
Sat, 29 Sep 2018 10:58:23 +0000 (12:58 +0200)
committerJagan Teki <jagan@amarulasolutions.com>
Tue, 2 Oct 2018 16:42:21 +0000 (22:12 +0530)
commit739def7253c4b782bcb9cc816edf3b2f2aeafb4e
tree9f820d2d8a09e5442124540791f155e7ab5156cc
parentd60aea94e92a8783e95591b7eeaf733903eeaec7
dm: drop unused helper in MTD header

include/mtd.h might be included by files even if CONFIG_DM is not
enabled. In this case, the call to dev_get_uclass_priv() would trigger
a build error. Because this helper has no user, let's drop it off.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
include/mtd.h