ide: Make ide_ident() return an error code
authorSimon Glass <sjg@chromium.org>
Tue, 25 Apr 2023 16:54:48 +0000 (10:54 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 27 Apr 2023 17:51:07 +0000 (13:51 -0400)
commit038590af89eee321ea5a28e97a8aba078a7af4e2
treecd78e90663486ab8ae69d72630cc1e3f79181f92
parentce99e297e52712040266b4e389bba76ae74b7c4c
ide: Make ide_ident() return an error code

Update ide_ident() to indicate whether it finds a device or not. Use
that to decide whether to create a block device for it, rather than
looking DEV_TYPE_UNKNOWN.

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