|
@@ -211,9 +211,7 @@ static inline struct mtd_info *cfi_cmdset_unknown(struct map_info *map,
|
|
|
|
|
|
probe_function = __symbol_get(probename);
|
|
|
if (!probe_function) {
|
|
|
- char modname[sizeof("cfi_cmdset_%4.4X")];
|
|
|
- sprintf(modname, "cfi_cmdset_%4.4X", type);
|
|
|
- request_module(modname);
|
|
|
+ request_module("cfi_cmdset_%4.4X", type);
|
|
|
probe_function = __symbol_get(probename);
|
|
|
}
|
|
|
|