commit | 807f16d4db956b364ae852a63ad7d79460838866 | [log] [tgz] |
---|---|---|
author | Frans Klaver <fransklaver@gmail.com> | Wed Jun 10 22:38:16 2015 +0200 |
committer | Brian Norris <computersforpeace@gmail.com> | Tue Oct 13 09:21:13 2015 -0700 |
tree | 9808c8bc44b0eb89013c0ede18f3091e822f829c | |
parent | 260e89a6e0d6dcaccd484cf13a69285c3d22268f [diff] |
mtd: core: set some defaults when dev.parent is set If a parent device is set, add_mtd_device() has enough knowledge to fill in some sane default values for the module name and owner. Do so if they aren't already set. Signed-off-by: Frans Klaver <fransklaver@gmail.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>