ide: Move ide_init() entirely within ide_probe()
authorSimon Glass <sjg@chromium.org>
Tue, 25 Apr 2023 16:54:45 +0000 (10:54 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 27 Apr 2023 17:51:06 +0000 (13:51 -0400)
commit708404c9e9648069d59cb9f3df77e200054f68c7
treee6283ed68ab8034fc45058120340bc76ada62227
parentdb89e72302d099f74856f00b918e4e33a6ddf248
ide: Move ide_init() entirely within ide_probe()

Now that ide_probe() is the only caller of ide_init(), move all the code
into the probe function, so it is easier to refactor it.

Move ide_dev_desc[] into ide_probe() to, since it is the only user.

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