disk: Rename block_dev to desc
authorSimon Glass <sjg@chromium.org>
Fri, 21 Oct 2022 00:22:53 +0000 (18:22 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 31 Oct 2022 15:02:44 +0000 (11:02 -0400)
commitb55afa0c0e6dcb185ee527a6c37941bfde04ffd1
tree7abc730f6626a791380a400046962eab7c326ddc
parent76c839fcb417feb6532959a13eaaceb0f2b2b861
disk: Rename block_dev to desc

The use of 'block_dev' in this context is confusing, since it is not a
pointer to a device, just to some information about it. Rename this to
'desc', as is more commonly used, since it is a block descriptor.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Heinrich Schuchardt <xypron.glplk@gmx.de>
disk/disk-uclass.c