commit | 216a9bb71b62c11aa5c33956f71728cc0af97e7d | [log] [tgz] |
---|---|---|
author | Miquel Raynal <miquel.raynal@bootlin.com> | Sat Sep 29 12:58:23 2018 +0200 |
committer | Jagan Teki <jagan@amarulasolutions.com> | Tue Oct 02 22:12:21 2018 +0530 |
tree | 9f820d2d8a09e5442124540791f155e7ab5156cc | |
parent | 24de4a517adcef61940e83b15e393f87376ba1e9 [diff] |
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>