Skip to content
Commit db89e723 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent 209ee956
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment