commit | db89e72302d099f74856f00b918e4e33a6ddf248 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Apr 25 10:54:44 2023 -0600 |
committer | Tom Rini <trini@konsulko.com> | Thu Apr 27 13:51:06 2023 -0400 |
tree | a5fccaf252ab849402769057a9124841a71b0ff1 | |
parent | 209ee95611d1f77b341f68a79f94d07cd657667e [diff] |
ide: Move setting of vendor strings into ide_probe() The current implementation adds this information in the block device's probe() function, which is called in the blk_probe_or_unbind() in ide_probe(). It is simpler to do this in ide_probe() itself, since the effect is the same. This helps to consolidate use of ide_dev_desc[] which we would like to remove. Use strlcpy() to keep checkpatch happy. Signed-off-by: Simon Glass <sjg@chromium.org>