commit | da65c856f2f83a55efd8ed3e0e41abf5291eb1c8 | [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 | 2654dfe1bf05c194fa8c63d05124e02737d0a25f [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>