Skip to content
Snippets Groups Projects
Commit 0a026d3e authored by Ben Gardiner's avatar Ben Gardiner Committed by Scott Wood
Browse files

mtdparts: regroup calls to get_mtd_device_nm


The get_mtd_device_nm function is called in a couple places and the
string that is passed to it is not really used after the calls.

This patch regroups the calls to this function into a new function,
get_mtd_info.

Signed-off-by: default avatarBen Gardiner <bengardiner@nanometrics.ca>
Acked-by: default avatarStefan Roese <sr@denx.de>
CC: Wolfgang Denk <wd@denx.de>
parent 5b8e6bb5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment