commit | 1abf71eef32c7f242fe30ea66a635e297b2c1c8d | [log] [tgz] |
---|---|---|
author | Corey Minyard <cminyard@mvista.com> | Mon Nov 07 07:37:06 2016 -0700 |
committer | Corey Minyard <cminyard@mvista.com> | Thu Nov 24 18:09:39 2016 -0600 |
tree | 8c39c63e067dfb20cfb596a30ee12986b91748e1 | |
parent | c11daf6a8fcc42d540ad6d7bb06a6a203de908b3 [diff] |
Move platform device creation earlier in the initialization Some logs are printed out early using smi->dev, but on a platform device that is not created until later. So move the creation of that device structure earlier in the sequence so it can be used for printing. Signed-off-by: Corey Minyard <cminyard@mvista.com> Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com>