ide: Move all blk_desc init into ide_ident()
authorSimon Glass <sjg@chromium.org>
Tue, 25 Apr 2023 16:54:49 +0000 (10:54 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 27 Apr 2023 17:51:07 +0000 (13:51 -0400)
commit960831180380e8060d8a6af5317ae756b9f6d186
treedfdb85b72e99aefac691c880cabc0e44bc288ce4
parent038590af89eee321ea5a28e97a8aba078a7af4e2
ide: Move all blk_desc init into ide_ident()

Rather than having the caller fill some of this in, do it all in the
ide_ident() function, since it knows all the values.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/block/ide.c